rust/tests/ui/rust-2024/unsafe-attributes/unsafe-attributes.edition2024.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
291 B
Plaintext
Raw Normal View History

error: unsafe attribute used without unsafe
2024-08-07 01:36:28 -05:00
--> $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