about summary refs log tree commit diff
path: root/src/test/mir-opt/const_prop_miscompile.foo.ConstProp.diff
diff options
context:
space:
mode:
authorJakob Degen <jakob.e.degen@gmail.com>2022-04-05 19:02:57 -0400
committerJakob Degen <jakob.e.degen@gmail.com>2022-04-11 09:26:26 -0400
commit2a040284a5bc3bee1e78a7bea60e15a0033ef2b5 (patch)
tree233446ce4bb41441a95eb6f9f49280622d4fbc5e /src/test/mir-opt/const_prop_miscompile.foo.ConstProp.diff
parentfe796cd0f608a46ae250a2899cbbec657a22db9c (diff)
downloadrust-2a040284a5bc3bee1e78a7bea60e15a0033ef2b5.tar.gz
rust-2a040284a5bc3bee1e78a7bea60e15a0033ef2b5.zip
Fix tests broken by deaggregation change
Diffstat (limited to 'src/test/mir-opt/const_prop_miscompile.foo.ConstProp.diff')
-rw-r--r--src/test/mir-opt/const_prop_miscompile.foo.ConstProp.diff1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/mir-opt/const_prop_miscompile.foo.ConstProp.diff b/src/test/mir-opt/const_prop_miscompile.foo.ConstProp.diff
index f7375cb6113..08730da2f3d 100644
--- a/src/test/mir-opt/const_prop_miscompile.foo.ConstProp.diff
+++ b/src/test/mir-opt/const_prop_miscompile.foo.ConstProp.diff
@@ -16,6 +16,7 @@
   
       bb0: {
           StorageLive(_1);                 // scope 0 at $DIR/const_prop_miscompile.rs:5:9: 5:14
+          Deinit(_1);                      // scope 0 at $DIR/const_prop_miscompile.rs:5:17: 5:21
           (_1.0: i32) = const 1_i32;       // scope 0 at $DIR/const_prop_miscompile.rs:5:17: 5:21
           StorageLive(_2);                 // scope 1 at $DIR/const_prop_miscompile.rs:6:6: 6:14
           _2 = &mut (_1.0: i32);           // scope 1 at $DIR/const_prop_miscompile.rs:6:6: 6:14