summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/while_let_loops.change_loop_body.PreCodegen.after.mir
blob: 15b0aece8f54b7e4dd873b272f66881e6854f4b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// MIR for `change_loop_body` after PreCodegen

fn change_loop_body() -> () {
    let mut _0: ();                      // return place in scope 0 at $DIR/while_let_loops.rs:+0:27: +0:27
    let mut _1: i32;                     // in scope 0 at $DIR/while_let_loops.rs:+1:9: +1:15
    scope 1 {
        debug _x => _1;                  // in scope 1 at $DIR/while_let_loops.rs:+1:9: +1:15
        scope 2 {
        }
    }

    bb0: {
        StorageLive(_1);                 // scope 0 at $DIR/while_let_loops.rs:+1:9: +1:15
        StorageDead(_1);                 // scope 0 at $DIR/while_let_loops.rs:+6:1: +6:2
        return;                          // scope 0 at $DIR/while_let_loops.rs:+6:2: +6:2
    }
}