Skip to content

Commit dadf3d2

Browse files
committed
the output in stderr expects panic-unwind
1 parent 8c3a94a commit dadf3d2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/ui/backtrace/synchronized-panic-handler.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//@ edition:2021
44
//@ exec-env:RUST_BACKTRACE=0
55
//@ needs-threads
6+
//@ needs-unwind
67
use std::thread;
78
const PANIC_MESSAGE: &str = "oops oh no woe is me";
89

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:10:5:
1+
thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:11:5:
22
oops oh no woe is me
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:10:5:
4+
thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:11:5:
55
oops oh no woe is me

0 commit comments

Comments
 (0)