mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
8 lines
215 B
Rust
8 lines
215 B
Rust
#[unsafe(unsafe(no_mangle))]
|
|
//~^ ERROR expected identifier, found keyword `unsafe`
|
|
//~| ERROR cannot find attribute `r#unsafe` in this scope
|
|
//~| ERROR `r#unsafe` is not an unsafe attribute
|
|
fn a() {}
|
|
|
|
fn main() {}
|