rustc/tests/ui/parser/removed-syntax-field-let.rs
2023-08-02 10:33:26 +02:00

7 lines
101 B
Rust

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