diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-07-30 22:51:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-30 22:51:39 +0200 |
| commit | 7ea1f7265f847c783414f59917c5725b05f007f2 (patch) | |
| tree | eb6c57953a8b95c9b3818d071b77d0dcf8fb1e69 | |
| parent | 6f0b237c72851932748120549fe2feeb537124cf (diff) | |
| parent | dadf3d2a970999ee0d7a0f97045acc70919d751e (diff) | |
| download | rust-7ea1f7265f847c783414f59917c5725b05f007f2.tar.gz rust-7ea1f7265f847c783414f59917c5725b05f007f2.zip | |
Rollup merge of #128379 - Dajamante:aïssata_needs_unwind, r=pietroalbini
the output in stderr expects panic-unwind r? ``@pietroalbini``
| -rw-r--r-- | tests/ui/backtrace/synchronized-panic-handler.rs | 1 | ||||
| -rw-r--r-- | tests/ui/backtrace/synchronized-panic-handler.run.stderr | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/backtrace/synchronized-panic-handler.rs b/tests/ui/backtrace/synchronized-panic-handler.rs index 00eb249da1d..29431ae3c45 100644 --- a/tests/ui/backtrace/synchronized-panic-handler.rs +++ b/tests/ui/backtrace/synchronized-panic-handler.rs @@ -3,6 +3,7 @@ //@ edition:2021 //@ exec-env:RUST_BACKTRACE=0 //@ needs-threads +//@ needs-unwind use std::thread; const PANIC_MESSAGE: &str = "oops oh no woe is me"; diff --git a/tests/ui/backtrace/synchronized-panic-handler.run.stderr b/tests/ui/backtrace/synchronized-panic-handler.run.stderr index b7c815a94c8..8a06d00ea59 100644 --- a/tests/ui/backtrace/synchronized-panic-handler.run.stderr +++ b/tests/ui/backtrace/synchronized-panic-handler.run.stderr @@ -1,5 +1,5 @@ -thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:10:5: +thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:11:5: oops oh no woe is me note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace -thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:10:5: +thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:11:5: oops oh no woe is me |
