Skip to content

Commit f42fa4f

Browse files
committed
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
1 parent 1aaab8b commit f42fa4f

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)