Skip to content

Commit 324c10e

Browse files
committed
Adding needs-unwind for test using panic::catch_unwind
1 parent cd8cc91 commit 324c10e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/test/ui/issues/issue-87707.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// run-fail
44
// exec-env:RUST_BACKTRACE=0
55
// check-run-results
6+
// needs-unwind uses catch_unwind
67

78
use std::sync::Once;
89
use std::panic;
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
thread 'main' panicked at 'Here Once instance is poisoned.', $DIR/issue-87707.rs:13:24
1+
thread 'main' panicked at 'Here Once instance is poisoned.', $DIR/issue-87707.rs:14:24
22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
3-
thread 'main' panicked at 'Once instance has previously been poisoned', $DIR/issue-87707.rs:15:7
3+
thread 'main' panicked at 'Once instance has previously been poisoned', $DIR/issue-87707.rs:16:7

0 commit comments

Comments
 (0)