summary refs log tree commit diff
path: root/src/test/ui/parser/removed-syntax-field-let.rs
blob: 3412788668ac2583d46e59388916eded24f2e587 (plain)
1
2
3
4
5
6
7
8
9
// compile-flags: -Z continue-parse-after-error

struct S {
    let foo: (),
    //~^  ERROR expected identifier, found keyword `let`
    //~^^ ERROR expected `:`, found `foo`
}

fn main() {}