Rollup merge of #131835 - ferrocene:amanjeev/add-missing-attribute-un… · qinheping/verify-rust-std@0ab703c (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 0ab703c
Rollup merge of rust-lang#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
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -114,6 +114,7 @@ fn lazy_type_inference() { | ||
114 | 114 | } |
115 | 115 | |
116 | 116 | #[test] |
117 | +#[cfg(panic = "unwind")] | |
117 | 118 | #[should_panic = "LazyCell instance has previously been poisoned"] |
118 | 119 | fn lazy_force_mut_panic() { |
119 | 120 | let mut lazy = LazyCell::<String>::new(| |