summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/references.mut_ref.built.after.mir
blob: c82cb3274d607a3e07c698aba9eae96a8c6aba96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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;
    }
}