mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
5 lines
139 B
Rust
5 lines
139 B
Rust
fn main() {
|
|
match 0 { 1 => () } //~ ERROR non-exhaustive patterns
|
|
match 0 { 0 if false => () } //~ ERROR non-exhaustive patterns
|
|
}
|