summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-28433.rs
blob: 2298ad240d5609d78ab131f44a9b34a39ccb335d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
enum Bird {
    pub Duck,
    //~^ ERROR visibility qualifiers are not permitted here
    Goose,
    pub(crate) Dove
    //~^ ERROR visibility qualifiers are not permitted here
}


fn main() {
    let y = Bird::Goose;
}