blob: e1f7e975b80e4288f4a370af12105119296d5e5b [file] [log] [blame]
enum P {
C(PC),
}
enum PC {
Q,
QA,
}
fn test(proto: P) {
match proto { //~ ERROR non-exhaustive patterns
P::C(PC::Q) => (),
}
}
fn main() {}