summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/issue_72181_1.f.mir_map.0.mir
blob: e1a35d88bf1d9c0ba4652d8fd30e4fff117394c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// MIR for `f` 0 mir_map

fn f(_1: Void) -> ! {
    debug v => _1;                       // in scope 0 at $DIR/issue-72181-1.rs:+0:6: +0:7
    let mut _0: !;                       // return place in scope 0 at $DIR/issue-72181-1.rs:+0:18: +0:19
    let mut _2: !;                       // in scope 0 at $DIR/issue-72181-1.rs:+0:20: +2:2
    let mut _3: !;                       // in scope 0 at $DIR/issue-72181-1.rs:+1:5: +1:15

    bb0: {
        StorageLive(_2);                 // scope 0 at $DIR/issue-72181-1.rs:+0:20: +2:2
        StorageLive(_3);                 // scope 0 at $DIR/issue-72181-1.rs:+1:5: +1:15
        FakeRead(ForMatchedPlace(None), _1); // scope 0 at $DIR/issue-72181-1.rs:+1:11: +1:12
        unreachable;                     // scope 0 at $DIR/issue-72181-1.rs:+1:11: +1:12
    }

    bb1: {
        unreachable;                     // scope 0 at $DIR/issue-72181-1.rs:+1:5: +1:15
    }

    bb2: {
        StorageDead(_3);                 // scope 0 at $DIR/issue-72181-1.rs:+1:14: +1:15
        unreachable;                     // scope 0 at $DIR/issue-72181-1.rs:+0:20: +2:2
    }

    bb3: {
        StorageDead(_2);                 // scope 0 at $DIR/issue-72181-1.rs:+2:1: +2:2
        return;                          // scope 0 at $DIR/issue-72181-1.rs:+2:2: +2:2
    }
}