summaryrefslogtreecommitdiffstats
path: root/tests/ui/panics/panic-in-cleanup.run.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/panics/panic-in-cleanup.run.stderr')
-rw-r--r--tests/ui/panics/panic-in-cleanup.run.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/panics/panic-in-cleanup.run.stderr b/tests/ui/panics/panic-in-cleanup.run.stderr
new file mode 100644
index 000000000..e7def11b0
--- /dev/null
+++ b/tests/ui/panics/panic-in-cleanup.run.stderr
@@ -0,0 +1,9 @@
+thread 'main' panicked at $DIR/panic-in-cleanup.rs:22:5:
+explicit panic
+note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+thread 'main' panicked at $DIR/panic-in-cleanup.rs:16:9:
+BOOM
+stack backtrace:
+thread 'main' panicked at library/core/src/panicking.rs:$LINE:$COL:
+panic in a destructor during cleanup
+thread caused non-unwinding panic. aborting.