summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/simple_assign.simple_ref.built.after.mir
blob: 2b0e8f1047b53d354cea365ad3afc1dcee6dae6d (plain)
1
2
3
4
5
6
7
8
9
10
// 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: {
        _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
    }
}