Skip to content

Commit

Permalink
Rollup merge of #126740 - ferrocene:ja-ui-test-needs-unwind, r=lcnr
Browse files Browse the repository at this point in the history
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
  • Loading branch information
matthiaskrgr authored Jun 20, 2024
2 parents b0b2082 + f42fa4f commit 7b5ed5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ui/lifetimes/tail-expr-lock-poisoning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7b5ed5a

Please sign in to comment.