rust/tests/ui/parser/empty-impl-semicolon.rs

5 lines
71 B
Rust

struct Foo;
impl Foo; //~ ERROR expected `{}`, found `;`
fn main() {}