blob: 62c185d04b35d06484d9907c761e13af551eac22 (
plain)
1
2
3
4
5
|
fn main() {
match 0 { 1 => () } //~ ERROR non-exhaustive patterns
match 0 { 0 if false => () } //~ ERROR non-exhaustive patterns
//-| NOTE match arms with guards don't count towards exhaustivity
}
|