Adding needs-unwind for test using panic::catch_unwind
This commit is contained in:
parent
cd8cc91045
commit
324c10e72f
2 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
// run-fail
|
||||
// exec-env:RUST_BACKTRACE=0
|
||||
// check-run-results
|
||||
// needs-unwind uses catch_unwind
|
||||
|
||||
use std::sync::Once;
|
||||
use std::panic;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
thread 'main' panicked at 'Here Once instance is poisoned.', $DIR/issue-87707.rs:13:24
|
||||
thread 'main' panicked at 'Here Once instance is poisoned.', $DIR/issue-87707.rs:14:24
|
||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||
thread 'main' panicked at 'Once instance has previously been poisoned', $DIR/issue-87707.rs:15:7
|
||||
thread 'main' panicked at 'Once instance has previously been poisoned', $DIR/issue-87707.rs:16:7
|
||||
|
|
Loading…
Add table
Reference in a new issue