Skip to content

Commit 7b5ed5a

Browse files
authored
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
2 parents b0b2082 + f42fa4f commit 7b5ed5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ui/lifetimes/tail-expr-lock-poisoning.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//@ [edition2024] compile-flags: -Zunstable-options
44
//@ [edition2024] edition: 2024
55
//@ run-pass
6+
//@ needs-unwind
67
#![cfg_attr(edition2024, feature(shorter_tail_lifetimes))]
78

89
use std::sync::Mutex;

0 commit comments

Comments
 (0)