rust/tests/mir-opt/building/custom/references.mut_ref.built.after.mir

14 lines
234 B
Rust
Raw Normal View History

2022-08-03 06:30:13 -05:00
// MIR for `mut_ref` after built
fn mut_ref(_1: &mut i32) -> &mut i32 {
2023-06-06 08:47:00 -05:00
let mut _0: &mut i32;
let mut _2: *mut i32;
2022-08-03 06:30:13 -05:00
bb0: {
2023-06-06 08:47:00 -05:00
_2 = &raw mut (*_1);
_0 = &mut (*_2);
Retag(_0);
return;
2022-08-03 06:30:13 -05:00
}
}