rust/tests/ui/rust-2024/unsafe-extern-blocks/safe-trait.rs

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

5 lines
94 B
Rust
Raw Permalink Normal View History

safe trait Foo {}
//~^ ERROR expected one of `!` or `::`, found keyword `trait`
fn main() {}