summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/retag.{impl#0}-foo.SimplifyCfg-elaborate-drops.after.panic-unwind.mir
blob: 285db435f5a0ab8ff1fcd64eac0a6bd8845265f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// MIR for `<impl at $DIR/retag.rs:13:1: 13:10>::foo` after SimplifyCfg-elaborate-drops

fn <impl at $DIR/retag.rs:13:1: 13:10>::foo(_1: &Test, _2: &mut i32) -> &mut i32 {
    debug self => _1;
    debug x => _2;
    let mut _0: &mut i32;
    let mut _3: &mut i32;

    bb0: {
        Retag([fn entry] _1);
        Retag([fn entry] _2);
        StorageLive(_3);
        _3 = &mut (*_2);
        _0 = &mut (*_3);
        StorageDead(_3);
        return;
    }
}