]> git.lizzy.rs Git - rust.git/blobdiff - src/test/mir-opt/const_prop/mult_by_zero.test.ConstProp.diff
Auto merge of #75635 - Aaron1011:fix/incr-fn-param-names, r=eddyb
[rust.git] / src / test / mir-opt / const_prop / mult_by_zero.test.ConstProp.diff
index 7b36669bf15b2e63870562aa24ac93c7d333df5a..84ae8cc7477e37b6e3d4f3eac82a2d33ceb6cdc4 100644 (file)
           _2 = _1;                         // scope 0 at $DIR/mult_by_zero.rs:5:3: 5:4
 -         _0 = Mul(move _2, const 0_i32);  // scope 0 at $DIR/mult_by_zero.rs:5:3: 5:8
 +         _0 = const 0_i32;                // scope 0 at $DIR/mult_by_zero.rs:5:3: 5:8
-                                           // ty::Const
-                                           // + ty: i32
-                                           // + val: Value(Scalar(0x00000000))
-                                           // mir::Constant
--                                          // + span: $DIR/mult_by_zero.rs:5:7: 5:8
-+                                          // + span: $DIR/mult_by_zero.rs:5:3: 5:8
-                                           // + literal: Const { ty: i32, val: Value(Scalar(0x00000000)) }
           StorageDead(_2);                 // scope 0 at $DIR/mult_by_zero.rs:5:7: 5:8
           return;                          // scope 0 at $DIR/mult_by_zero.rs:6:2: 6:2
       }