rust/src/test/ui/parser/removed-syntax-field-semicolon.rs

7 lines
87 B
Rust

struct S {
bar: ();
//~^ ERROR expected `,`, or `}`, found `;`
}
fn main() {}