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

5 lines
71 B
Rust
Raw Normal View History

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