summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/removed-syntax-field-let.rs
blob: 6d64de296f15001130b56ccd8fe76f868325108a (plain)
1
2
3
4
5
6
struct S {
    let foo: (),
    //~^  ERROR expected identifier, found keyword `let`
}

fn main() {}