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

7 lines
93 B
Rust
Raw Normal View History

2022-10-11 12:01:22 -05:00
struct Foo {
let: i32,
//~^ ERROR expected identifier, found keyword
}
fn main() {}