rust/tests/mir-opt/building/custom/projections.set.built.after.mir

11 lines
177 B
Rust
Raw Normal View History

2022-12-04 02:20:37 -06:00
// MIR for `set` after built
fn set(_1: &mut Option<i32>) -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
2022-12-04 02:20:37 -06:00
bb0: {
2023-06-06 08:47:00 -05:00
(((*_1) as variant#1).0: i32) = const 10_i32;
return;
2022-12-04 02:20:37 -06:00
}
}