about summary refs log tree commit diff
path: root/tests/mir-opt/single_use_consts.if_const_debug.SingleUseConsts.panic-unwind.diff
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2024-08-18 14:26:34 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2024-08-18 16:07:33 -0700
commit99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad (patch)
treebb59a5f90f8a4a26f498d6748aec34d14a01d052 /tests/mir-opt/single_use_consts.if_const_debug.SingleUseConsts.panic-unwind.diff
parent249a36ffbd577fc76153b7ad4cafd33607ee4ddc (diff)
downloadrust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.tar.gz
rust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.zip
Bless *all* the mir-opt tests
Diffstat (limited to 'tests/mir-opt/single_use_consts.if_const_debug.SingleUseConsts.panic-unwind.diff')
-rw-r--r--tests/mir-opt/single_use_consts.if_const_debug.SingleUseConsts.panic-unwind.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/single_use_consts.if_const_debug.SingleUseConsts.panic-unwind.diff b/tests/mir-opt/single_use_consts.if_const_debug.SingleUseConsts.panic-unwind.diff
index 827a292e5d0..1285b8b33ba 100644
--- a/tests/mir-opt/single_use_consts.if_const_debug.SingleUseConsts.panic-unwind.diff
+++ b/tests/mir-opt/single_use_consts.if_const_debug.SingleUseConsts.panic-unwind.diff
@@ -22,7 +22,7 @@
       bb1: {
           StorageDead(_2);
           StorageLive(_3);
--         _3 = _1;
+-         _3 = copy _1;
 +         _3 = const <T as MyTrait>::ASSOC_BOOL;
           switchInt(move _3) -> [0: bb3, otherwise: bb2];
       }