]> git.lizzy.rs Git - rust.git/blobdiff - src/test/mir-opt/const_prop/checked_add.main.ConstProp.diff
Rollup merge of #100713 - Xiretza:parser-expr-session-diagnostics, r=estebank
[rust.git] / src / test / mir-opt / const_prop / checked_add.main.ConstProp.diff
index 5e33d054207b0036fbb9c2f33f508af276337da8..96d0d25664a41d15d7aa54c8a942626c08b476fe 100644 (file)
@@ -20,7 +20,7 @@
       bb1: {
 -         _1 = move (_2.0: u32);           // scope 0 at $DIR/checked_add.rs:+1:18: +1:23
 +         _1 = const 2_u32;                // scope 0 at $DIR/checked_add.rs:+1:18: +1:23
-          nop;                             // scope 0 at $DIR/checked_add.rs:+0:11: +2:2
+          _0 = const ();                   // scope 0 at $DIR/checked_add.rs:+0:11: +2:2
           StorageDead(_1);                 // scope 0 at $DIR/checked_add.rs:+2:1: +2:2
           return;                          // scope 0 at $DIR/checked_add.rs:+2:2: +2:2
       }