rust/tests/mir-opt/building/custom/enums.set_discr.built.after.mir

12 lines
190 B
Rust
Raw Permalink Normal View History

// MIR for `set_discr` after built
fn set_discr(_1: &mut Option<()>) -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
bb0: {
2023-06-06 08:47:00 -05:00
Deinit((*_1));
discriminant((*_1)) = 0;
return;
}
}