rust/tests/ui/parser/removed-syntax/removed-syntax-field-semicolon.rs

7 lines
90 B
Rust

struct S {
bar: ();
//~^ ERROR struct fields are separated by `,`
}
fn main() {}