We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vec_deque_alloc_error::test_shrink_to_unwind
1 parent 494f05c commit fcc07afCopy full SHA for fcc07af
alloc/tests/vec_deque_alloc_error.rs
@@ -8,6 +8,7 @@ use std::{
8
};
9
10
#[test]
11
+#[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
12
fn test_shrink_to_unwind() {
13
// This tests that `shrink_to` leaves the deque in a consistent state when
14
// the call to `RawVec::shrink_to_fit` unwinds. The code is adapted from #123369
0 commit comments