about summary refs log tree commit diff
path: root/tests/mir-opt/gvn_uninhabited.f.GVN.panic-abort.diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-10 14:05:11 +0100
committerRalf Jung <post@ralfj.de>2024-03-10 14:59:41 +0100
commit7d99e80c55486780b59c3b947b20e72344a3bdb2 (patch)
tree99519605d4e37af25e9a5ac2e1cc7b67262d036c /tests/mir-opt/gvn_uninhabited.f.GVN.panic-abort.diff
parent3521a2f2f317cb978063842485c7d1bc86ec82b6 (diff)
downloadrust-7d99e80c55486780b59c3b947b20e72344a3bdb2.tar.gz
rust-7d99e80c55486780b59c3b947b20e72344a3bdb2.zip
MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way
Diffstat (limited to 'tests/mir-opt/gvn_uninhabited.f.GVN.panic-abort.diff')
-rw-r--r--tests/mir-opt/gvn_uninhabited.f.GVN.panic-abort.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/gvn_uninhabited.f.GVN.panic-abort.diff b/tests/mir-opt/gvn_uninhabited.f.GVN.panic-abort.diff
index 0b6819ad483..86e6aae1191 100644
--- a/tests/mir-opt/gvn_uninhabited.f.GVN.panic-abort.diff
+++ b/tests/mir-opt/gvn_uninhabited.f.GVN.panic-abort.diff
@@ -17,7 +17,7 @@
       bb0: {
           StorageLive(_2);
           StorageLive(_3);
-          _5 = const _;
+          _5 = const f::promoted[0];
           _3 = &(*_5);
           _2 = ((*_3).1: E);
           StorageLive(_1);