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