rust/tests/ui/attributes/unsafe/unsafe-safe-attribute.stderr

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

11 lines
261 B
Plaintext
Raw Normal View History

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