summary refs log tree commit diff
path: root/src/test/mir-opt/while_let_loops.change_loop_body.PreCodegen.after.64bit.mir
blob: 5657f9413a1b4e585bc62f359a2edc4ba3035c4c (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:5:27: 5:27
    let mut _1: i32;                     // in scope 0 at $DIR/while_let_loops.rs:6:9: 6:15
    scope 1 {
        debug _x => _1;                  // in scope 1 at $DIR/while_let_loops.rs:6:9: 6:15
        scope 2 {
        }
    }

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