rust/tests/mir-opt/building/custom/simple_assign.simple_ref.built.after.mir

11 lines
383 B
Rust
Raw Normal View History

2022-08-03 06:30:13 -05:00
// MIR for `simple_ref` after built
fn simple_ref(_1: &mut i32) -> &mut i32 {
let mut _0: &mut i32; // return place in scope 0 at $DIR/simple_assign.rs:+0:35: +0:43
bb0: {
2022-11-27 23:23:39 -06:00
_0 = move _1; // scope 0 at $DIR/simple_assign.rs:+2:9: +2:22
return; // scope 0 at $DIR/simple_assign.rs:+3:9: +3:17
2022-08-03 06:30:13 -05:00
}
}