summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/retag.{impl#0}-foo.SimplifyCfg-elaborate-drops.after.panic-abort.mir
blob: d724774407495f8d4affb163a44dc3bd349c9a17 (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:12:1: 12:10>::foo` after SimplifyCfg-elaborate-drops

fn <impl at $DIR/retag.rs:12:1: 12: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;
    }
}