]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/simplify_locals.d1.SimplifyLocals-before-const-prop.diff
Auto merge of #106910 - aliemjay:alias-ty-in-regionck, r=oli-obk
[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 -         Deinit(_1);                      // scope 0 at $DIR/simplify_locals.rs:+2:13: +2:17
13 -         discriminant(_1) = 0;            // scope 0 at $DIR/simplify_locals.rs:+2:13: +2:17
14 -         StorageDead(_1);                 // scope 0 at $DIR/simplify_locals.rs:+2:17: +2:18
15           _0 = const ();                   // scope 0 at $DIR/simplify_locals.rs:+0:9: +3:2
16           return;                          // scope 0 at $DIR/simplify_locals.rs:+3:2: +3:2
17       }
18   }
19