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

7 lines
93 B
Rust

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