rust/tests/mir-opt/building/custom/references.mut_ref.built.after.mir
2023-06-15 15:19:11 -04:00

14 lines
234 B
Rust

// MIR for `mut_ref` after built
fn mut_ref(_1: &mut i32) -> &mut i32 {
let mut _0: &mut i32;
let mut _2: *mut i32;
bb0: {
_2 = &raw mut (*_1);
_0 = &mut (*_2);
Retag(_0);
return;
}
}