about summary refs log tree commit diff
path: root/tests/mir-opt/dataflow-const-prop/enum.multiple.DataflowConstProp.diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-02-18 09:57:13 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-02-18 09:57:13 +0000
commit7213eaa1c06bc75e6730fd5a7dea869dbdf4bed1 (patch)
treed42c2ce78dab2c64e414cf5e22cfed3dbab374c9 /tests/mir-opt/dataflow-const-prop/enum.multiple.DataflowConstProp.diff
parent650683756f0ad9badfa08d2cd10e68c56dcef7a3 (diff)
downloadrust-7213eaa1c06bc75e6730fd5a7dea869dbdf4bed1.tar.gz
rust-7213eaa1c06bc75e6730fd5a7dea869dbdf4bed1.zip
Flood aggregate assignments with `Top`.
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/enum.multiple.DataflowConstProp.diff')
-rw-r--r--tests/mir-opt/dataflow-const-prop/enum.multiple.DataflowConstProp.diff3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/enum.multiple.DataflowConstProp.diff b/tests/mir-opt/dataflow-const-prop/enum.multiple.DataflowConstProp.diff
index 5a1a608952c..c4002d65e5d 100644
--- a/tests/mir-opt/dataflow-const-prop/enum.multiple.DataflowConstProp.diff
+++ b/tests/mir-opt/dataflow-const-prop/enum.multiple.DataflowConstProp.diff
@@ -71,8 +71,7 @@
   
       bb7: {
           StorageLive(_9);                 // scope 2 at $DIR/enum.rs:+11:9: +11:10
--         _9 = _6;                         // scope 2 at $DIR/enum.rs:+11:13: +11:14
-+         _9 = const 0_u8;                 // scope 2 at $DIR/enum.rs:+11:13: +11:14
+          _9 = _6;                         // scope 2 at $DIR/enum.rs:+11:13: +11:14
           _0 = const ();                   // scope 0 at $DIR/enum.rs:+0:29: +12:2
           StorageDead(_9);                 // scope 2 at $DIR/enum.rs:+12:1: +12:2
           StorageDead(_6);                 // scope 1 at $DIR/enum.rs:+12:1: +12:2