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
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ fn lazy_type_inference() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(panic = "unwind")]
|
||||||
#[should_panic = "LazyCell instance has previously been poisoned"]
|
#[should_panic = "LazyCell instance has previously been poisoned"]
|
||||||
fn lazy_force_mut_panic() {
|
fn lazy_force_mut_panic() {
|
||||||
let mut lazy = LazyCell::<String>::new(|| panic!());
|
let mut lazy = LazyCell::<String>::new(|| panic!());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue