rust/tests/ui/parser/removed-syntax-field-let.rs
2023-01-11 09:32:08 +00:00

7 lines
101 B
Rust

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