summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0559.rs
blob: c6d04ff148a0c5f80c7fd9bb683f49b4195005cc (plain)
1
2
3
4
5
6
7
8
enum Field {
    Fool { x: u32 },
}

fn main() {
    let s = Field::Fool { joke: 0 };
    //~^ ERROR E0559
}