rust/tests/mir-opt/building/custom/enums.set_discr.built.after.mir
2023-01-11 09:32:08 +00:00

11 lines
358 B
Rust

// MIR for `set_discr` after built
fn set_discr(_1: &mut Option<()>) -> () {
let mut _0: (); // return place in scope 0 at $DIR/enums.rs:+0:39: +0:39
bb0: {
discriminant((*_1)) = 0; // scope 0 at $DIR/enums.rs:+2:9: +2:36
return; // scope 0 at $DIR/enums.rs:+3:9: +3:17
}
}