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

14 lines
226 B
Rust
Raw Normal View History

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