rust/tests/ui/attributes/unsafe/unsafe-safe-attribute.stderr
2024-06-06 20:26:28 -05:00

11 lines
229 B
Plaintext

error: `repr` is not an unsafe attribute
--> $DIR/unsafe-safe-attribute.rs:3:3
|
LL | #[unsafe(repr(C))]
| ^^^^^^
|
= note: extraneous unsafe is not allowed in attributes
error: aborting due to 1 previous error