mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 21:17:39 +00:00
14 lines
291 B
Plaintext
14 lines
291 B
Plaintext
error: unsafe attribute used without unsafe
|
|
--> $DIR/unsafe-attributes.rs:7: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
|
|
|