Rollup merge of #131835 - ferrocene:amanjeev/add-missing-attribute-unwind, r=Noratrieb
Do not run test where it cannot run This was seen on Ferrocene, where we have a custom test target that does not have unwind support
This commit is contained in:
commit
e46d52ccda
@ -114,6 +114,7 @@ fn lazy_type_inference() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(panic = "unwind")]
|
||||
#[should_panic = "LazyCell instance has previously been poisoned"]
|
||||
fn lazy_force_mut_panic() {
|
||||
let mut lazy = LazyCell::<String>::new(|| panic!());
|
||||
|
Loading…
Reference in New Issue
Block a user