blob: 3b210a115d21a2f10165c35a65a3711c2482bf26 [file] [log] [blame]
fn main() {
match 0 { 1 => () } //~ ERROR non-exhaustive patterns
match 0 { 0 if false => () } //~ ERROR non-exhaustive patterns
}