about summary refs log tree commit diff
path: root/tests/ui/rust-2024/unsafe-attributes/unsafe-attributes.edition2024.stderr
blob: 35475d6671626a99c49cb3ebb12708d3448216a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: unsafe attribute used without unsafe
  --> $DIR/unsafe-attributes.rs:9: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