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

5 lines
94 B
Rust
Raw Permalink Normal View History

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