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