summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-19922.rs
blob: fede86f22afd88daa9c190dc900dd9421cecf165 (plain)
1
2
3
4
5
6
7
8
enum Homura {
    Akemi { madoka: () }
}

fn main() {
    let homura = Homura::Akemi { kaname: () };
    //~^ ERROR variant `Homura::Akemi` has no field named `kaname`
}