]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/while_let_loops.change_loop_body.PreCodegen.after.mir
Add extended error message for E0523
[rust.git] / tests / mir-opt / while_let_loops.change_loop_body.PreCodegen.after.mir
1 // MIR for `change_loop_body` after PreCodegen
2
3 fn change_loop_body() -> () {
4     let mut _0: ();                      // return place in scope 0 at $DIR/while_let_loops.rs:+0:27: +0:27
5     let mut _1: i32;                     // in scope 0 at $DIR/while_let_loops.rs:+1:9: +1:15
6     scope 1 {
7         debug _x => _1;                  // in scope 1 at $DIR/while_let_loops.rs:+1:9: +1:15
8         scope 2 {
9         }
10     }
11
12     bb0: {
13         StorageLive(_1);                 // scope 0 at $DIR/while_let_loops.rs:+1:9: +1:15
14         StorageDead(_1);                 // scope 0 at $DIR/while_let_loops.rs:+6:1: +6:2
15         return;                          // scope 0 at $DIR/while_let_loops.rs:+6:2: +6:2
16     }
17 }