summary refs log tree commit diff
path: root/src/test/ui/issues/issue-28433.rs
blob: a87ac63784fc6b19fab1c4d85a8f63811b0e4c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile-flags: -Z continue-parse-after-error

enum bird {
    pub duck,
    //~^ ERROR: expected identifier, found keyword `pub`
    //~| ERROR: expected
    goose
}


fn main() {
    let y = bird::goose;
}