rust/tests/ui/parser/bad-let-as-field.rs

7 lines
93 B
Rust

struct Foo {
let: i32,
//~^ ERROR expected identifier, found keyword
}
fn main() {}