Skip to content

Commit 7ea1f72

Browse files
authored
Rollup merge of #128379 - Dajamante:aïssata_needs_unwind, r=pietroalbini
the output in stderr expects panic-unwind r​? ``@pietroalbini``
2 parents 6f0b237 + dadf3d2 commit 7ea1f72

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)