rust/tests/mir-opt/building/custom/projections.copy_for_deref....

13 lines
227 B
Rust

// MIR for `copy_for_deref` after built
fn copy_for_deref(_1: (&i32, i32)) -> i32 {
let mut _0: i32;
let mut _2: &i32;
bb0: {
_2 = deref_copy (_1.0: &i32);
_0 = copy (*_2);
return;
}
}