We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06d261d commit f999ab8Copy full SHA for f999ab8
1 file changed
library/core/tests/lazy.rs
@@ -114,6 +114,7 @@ fn lazy_type_inference() {
114
}
115
116
#[test]
117
+#[cfg(panic = "unwind")]
118
#[should_panic = "LazyCell instance has previously been poisoned"]
119
fn lazy_force_mut_panic() {
120
let mut lazy = LazyCell::<String>::new(|| panic!());
0 commit comments