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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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() {}