File tree Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,6 @@ fn array_try_from_fn() {
392392 assert_eq ! ( another_array, Err ( SomeError :: Foo ) ) ;
393393}
394394
395- #[ cfg( not( panic = "abort" ) ) ]
396395#[ test]
397396fn array_try_from_fn_drops_inserted_elements_on_err ( ) {
398397 static DROP_COUNTER : AtomicUsize = AtomicUsize :: new ( 0 ) ;
@@ -416,7 +415,6 @@ fn array_try_from_fn_drops_inserted_elements_on_err() {
416415 assert_eq ! ( DROP_COUNTER . load( Ordering :: SeqCst ) , 2 ) ;
417416}
418417
419- #[ cfg( not( panic = "abort" ) ) ]
420418#[ test]
421419fn array_try_from_fn_drops_inserted_elements_on_panic ( ) {
422420 static DROP_COUNTER : AtomicUsize = AtomicUsize :: new ( 0 ) ;
@@ -440,7 +438,6 @@ fn array_try_from_fn_drops_inserted_elements_on_panic() {
440438 assert_eq ! ( DROP_COUNTER . load( Ordering :: SeqCst ) , 2 ) ;
441439}
442440
443- #[ cfg( not( panic = "abort" ) ) ]
444441// https://stackoverflow.com/a/59211505
445442fn catch_unwind_silent < F , R > ( f : F ) -> std:: thread:: Result < R >
446443where
Original file line number Diff line number Diff line change @@ -233,7 +233,6 @@ fn test_zip_trusted_random_access_composition() {
233233}
234234
235235#[ test]
236- #[ cfg( panic = "unwind" ) ]
237236fn test_zip_trusted_random_access_next_back_drop ( ) {
238237 use std:: panic:: catch_unwind;
239238 use std:: panic:: AssertUnwindSafe ;
Original file line number Diff line number Diff line change 11use core:: mem:: * ;
22
3- #[ cfg( panic = "unwind" ) ]
43use std:: rc:: Rc ;
54
65#[ test]
@@ -190,7 +189,6 @@ fn uninit_write_slice_cloned_panic_gt() {
190189}
191190
192191#[ test]
193- #[ cfg( panic = "unwind" ) ]
194192fn uninit_write_slice_cloned_mid_panic ( ) {
195193 use std:: panic;
196194
You can’t perform that action at this time.
0 commit comments