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

14 lines
234 B
Rust
Raw Normal View History

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