We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c85d31 commit 34c8228Copy full SHA for 34c8228
1 file changed
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