about summary refs log tree commit diff
path: root/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-01-25 18:34:19 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-02-02 23:20:27 +0000
commit6a0b218161ddeeeb4adac8caa8c0e6bae32a4bed (patch)
tree52a659a8586f7d0b7d9f3944a4ed24fbff5c4310 /tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff
parentb62a9da0c839fa3e722d4baf3e50ce58b749bc8e (diff)
downloadrust-6a0b218161ddeeeb4adac8caa8c0e6bae32a4bed.tar.gz
rust-6a0b218161ddeeeb4adac8caa8c0e6bae32a4bed.zip
Stop deaggregating enums in MIR.
Diffstat (limited to 'tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff')
-rw-r--r--tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff b/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff
index 4405b55875e..f4e9d53286f 100644
--- a/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff
+++ b/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff
@@ -79,9 +79,7 @@
           _15 = const false;               // scope 5 at $DIR/const_debuginfo.rs:+8:13: +8:34
           _16 = const 123_u32;             // scope 5 at $DIR/const_debuginfo.rs:+8:13: +8:34
           StorageLive(_10);                // scope 6 at $DIR/const_debuginfo.rs:+10:9: +10:10
-          Deinit(_10);                     // scope 6 at $DIR/const_debuginfo.rs:+10:13: +10:24
-          ((_10 as Some).0: u16) = const 99_u16; // scope 6 at $DIR/const_debuginfo.rs:+10:13: +10:24
-          discriminant(_10) = 1;           // scope 6 at $DIR/const_debuginfo.rs:+10:13: +10:24
+          _10 = Option::<u16>::Some(const 99_u16); // scope 6 at $DIR/const_debuginfo.rs:+10:13: +10:24
           StorageLive(_17);                // scope 7 at $DIR/const_debuginfo.rs:+12:9: +12:10
           StorageLive(_18);                // scope 7 at $DIR/const_debuginfo.rs:+12:9: +12:10
           Deinit(_17);                     // scope 7 at $DIR/const_debuginfo.rs:+12:13: +12:35