]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/simplify_locals.d1.SimplifyLocals-before-const-prop.diff
Rollup merge of #107596 - Kobzol:stage-build-timer, r=Mark-Simulacrum
[rust.git] / tests / mir-opt / simplify_locals.d1.SimplifyLocals-before-const-prop.diff
1 - // MIR for `d1` before SimplifyLocals-before-const-prop
2 + // MIR for `d1` after SimplifyLocals-before-const-prop
3   
4   fn d1() -> () {
5       let mut _0: ();                      // return place in scope 0 at $DIR/simplify_locals.rs:+0:9: +0:9
6 -     let mut _1: E;                       // in scope 0 at $DIR/simplify_locals.rs:+2:13: +2:17
7       scope 1 {
8       }
9   
10       bb0: {
11 -         StorageLive(_1);                 // scope 0 at $DIR/simplify_locals.rs:+2:13: +2:17
12 -         _1 = E::A;                       // scope 0 at $DIR/simplify_locals.rs:+2:13: +2:17
13 -         StorageDead(_1);                 // scope 0 at $DIR/simplify_locals.rs:+2:17: +2:18
14           _0 = const ();                   // scope 0 at $DIR/simplify_locals.rs:+0:9: +3:2
15           return;                          // scope 0 at $DIR/simplify_locals.rs:+3:2: +3:2
16       }
17   }
18