Skip to content

Commit 3c6dbf9

Browse files
authored
Rollup merge of #102084 - andrewpollack:add-issue-panic-unwind, r=bjorn3
Adding needs-unwind for test using panic::catch_unwind Adding needs-unwind for test using panic::catch_unwind cc. `@djkoloski` r? `@tmandry`
2 parents 6c47d29 + 324c10e commit 3c6dbf9

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)