mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-27 09:06:54 +00:00
10 lines
200 B
Rust
10 lines
200 B
Rust
//@ compile-flags: -Zmir-opt-level=0
|
|
// skip-filecheck
|
|
// EMIT_MIR issue_101867.main.built.after.mir
|
|
fn main() {
|
|
let x: Option<u8> = Some(1);
|
|
let Some(y) = x else {
|
|
panic!();
|
|
};
|
|
}
|