blob: fb697e14ef1c7a564bcd7515d7b876241850dec1 [file] [log] [blame] [edit]
error: unsafe attribute used without unsafe
--> $DIR/unsafe-attributes.rs:8:3
|
LL | #[no_mangle]
| ^^^^^^^^^ usage of unsafe attribute
|
help: wrap the attribute in `unsafe(...)`
|
LL | #[unsafe(no_mangle)]
| +++++++ +
error: aborting due to 1 previous error