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 17:01:22 +00:00
struct Foo {
let: i32,
//~^ ERROR expected identifier, found keyword
}
fn main() {}