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

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

5 lines
85 B
Rust
Raw Normal View History

#[unsafe(repr(C))] //~ ERROR: is not an unsafe attribute
struct Foo {}
fn main() {}