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

7 lines
101 B
Rust

struct S {
let foo: (),
//~^ ERROR expected identifier, found keyword `let`
}
fn main() {}