File tree 3 files changed +0
-6
lines changed
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() {
392
392
assert_eq ! ( another_array, Err ( SomeError :: Foo ) ) ;
393
393
}
394
394
395
- #[ cfg( not( panic = "abort" ) ) ]
396
395
#[ test]
397
396
fn array_try_from_fn_drops_inserted_elements_on_err ( ) {
398
397
static DROP_COUNTER : AtomicUsize = AtomicUsize :: new ( 0 ) ;
@@ -416,7 +415,6 @@ fn array_try_from_fn_drops_inserted_elements_on_err() {
416
415
assert_eq ! ( DROP_COUNTER . load( Ordering :: SeqCst ) , 2 ) ;
417
416
}
418
417
419
- #[ cfg( not( panic = "abort" ) ) ]
420
418
#[ test]
421
419
fn array_try_from_fn_drops_inserted_elements_on_panic ( ) {
422
420
static DROP_COUNTER : AtomicUsize = AtomicUsize :: new ( 0 ) ;
@@ -440,7 +438,6 @@ fn array_try_from_fn_drops_inserted_elements_on_panic() {
440
438
assert_eq ! ( DROP_COUNTER . load( Ordering :: SeqCst ) , 2 ) ;
441
439
}
442
440
443
- #[ cfg( not( panic = "abort" ) ) ]
444
441
// https://stackoverflow.com/a/59211505
445
442
fn catch_unwind_silent < F , R > ( f : F ) -> std:: thread:: Result < R >
446
443
where
Original file line number Diff line number Diff line change @@ -233,7 +233,6 @@ fn test_zip_trusted_random_access_composition() {
233
233
}
234
234
235
235
#[ test]
236
- #[ cfg( panic = "unwind" ) ]
237
236
fn test_zip_trusted_random_access_next_back_drop ( ) {
238
237
use std:: panic:: catch_unwind;
239
238
use std:: panic:: AssertUnwindSafe ;
Original file line number Diff line number Diff line change 1
1
use core:: mem:: * ;
2
2
3
- #[ cfg( panic = "unwind" ) ]
4
3
use std:: rc:: Rc ;
5
4
6
5
#[ test]
@@ -190,7 +189,6 @@ fn uninit_write_slice_cloned_panic_gt() {
190
189
}
191
190
192
191
#[ test]
193
- #[ cfg( panic = "unwind" ) ]
194
192
fn uninit_write_slice_cloned_mid_panic ( ) {
195
193
use std:: panic;
196
194
You can’t perform that action at this time.
0 commit comments