Rollup merge of #126740 - ferrocene:ja-ui-test-needs-unwind, r=lcnr

add `needs-unwind` to UI test

the `tail-expr-lock-poisoning` UI test uses the `panic::catch_unwind` API so it relies on unwinding being implemented. this test ought not to run on targets that do not support unwinding. add the `needs-unwind` attribute to signal this
This commit is contained in:
Matthias Krüger 2024-06-20 18:20:14 +02:00 committed by GitHub
commit 7b5ed5a66c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,7 @@
//@ [edition2024] compile-flags: -Zunstable-options
//@ [edition2024] edition: 2024
//@ run-pass
//@ needs-unwind
#![cfg_attr(edition2024, feature(shorter_tail_lifetimes))]
use std::sync::Mutex;