blob: 7e4b60f8ff28d5abf520b8041059d733104f0575 [file] [log] [blame] [edit]
//@ run-rustfix
fn main() {
match Some(1) { //~ ERROR non-exhaustive patterns: `None` not covered
Some(1) => {}
// hello
Some(_) => {}
}
}