mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 04:27:38 +00:00
11 lines
261 B
Plaintext
11 lines
261 B
Plaintext
error: `repr` is not an unsafe attribute
|
|
--> $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
|
|
|