Skip to content

Commit

Permalink
Rollup merge of #102084 - andrewpollack:add-issue-panic-unwind, r=bjorn3
Browse files Browse the repository at this point in the history
Adding needs-unwind for test using panic::catch_unwind

Adding needs-unwind for test using panic::catch_unwind

cc. `@djkoloski`

r? `@tmandry`
  • Loading branch information
JohnTitor authored Sep 22, 2022
2 parents 6c47d29 + 324c10e commit 3c6dbf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/test/ui/issues/issue-87707.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/issues/issue-87707.run.stderr
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3c6dbf9

Please sign in to comment.