rust/tests/ui/parser/issues/issue-19398.rs
2023-01-11 09:32:08 +00:00

7 lines
113 B
Rust

trait T {
extern "Rust" unsafe fn foo();
//~^ ERROR expected `{`, found keyword `unsafe`
}
fn main() {}