about summary refs log tree commit diff
path: root/tests/mir-opt/basic_assignment.main.ElaborateDrops.diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-08-21 09:57:10 +0200
committerRalf Jung <post@ralfj.de>2023-08-24 13:28:26 +0200
commit4c53783f3c27ce30119018c752bdc805222409da (patch)
treed75e9c3394a9df4d3bb4c2f70e547219c872578f /tests/mir-opt/basic_assignment.main.ElaborateDrops.diff
parent0b31792ef1c15538b07c7b83585dc2fb371c239f (diff)
downloadrust-4c53783f3c27ce30119018c752bdc805222409da.tar.gz
rust-4c53783f3c27ce30119018c752bdc805222409da.zip
when terminating during unwinding, show the reason why
Diffstat (limited to 'tests/mir-opt/basic_assignment.main.ElaborateDrops.diff')
-rw-r--r--tests/mir-opt/basic_assignment.main.ElaborateDrops.diff6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mir-opt/basic_assignment.main.ElaborateDrops.diff b/tests/mir-opt/basic_assignment.main.ElaborateDrops.diff
index 15269fb8f6c..2b6e0fe489a 100644
--- a/tests/mir-opt/basic_assignment.main.ElaborateDrops.diff
+++ b/tests/mir-opt/basic_assignment.main.ElaborateDrops.diff
@@ -47,7 +47,7 @@
   
       bb2 (cleanup): {
           _5 = move _6;
--         drop(_6) -> [return: bb6, unwind terminate];
+-         drop(_6) -> [return: bb6, unwind terminate (panic in a destructor during cleanup)];
 +         goto -> bb6;
       }
   
@@ -71,12 +71,12 @@
       }
   
       bb6 (cleanup): {
--         drop(_5) -> [return: bb7, unwind terminate];
+-         drop(_5) -> [return: bb7, unwind terminate (panic in a destructor during cleanup)];
 +         goto -> bb7;
       }
   
       bb7 (cleanup): {
--         drop(_4) -> [return: bb8, unwind terminate];
+-         drop(_4) -> [return: bb8, unwind terminate (panic in a destructor during cleanup)];
 +         goto -> bb8;
       }