rust/tests/mir-opt/building/issue_101867.rs

8 lines
145 B
Rust
Raw Normal View History

// EMIT_MIR issue_101867.main.built.after.mir
2022-09-16 06:54:41 -05:00
fn main() {
let x: Option<u8> = Some(1);
let Some(y) = x else {
panic!();
};
}