summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/bad-let-as-field.rs
blob: fec2bc25617acca615a7793f4d6936776fb33b5b (plain)
1
2
3
4
5
6
struct Foo {
    let: i32,
    //~^ ERROR expected identifier, found keyword
}

fn main() {}