File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2625,7 +2625,6 @@ mod test_map {
2625
2625
use super :: DefaultHashBuilder ;
2626
2626
use super :: Entry :: { Occupied , Vacant } ;
2627
2627
use super :: { HashMap , RawEntryMut } ;
2628
- #[ cfg( not( miri) ) ]
2629
2628
use crate :: CollectionAllocErr :: * ;
2630
2629
use rand:: { rngs:: SmallRng , Rng , SeedableRng } ;
2631
2630
use std:: cell:: RefCell ;
@@ -2883,7 +2882,7 @@ mod test_map {
2883
2882
}
2884
2883
2885
2884
#[ test]
2886
- #[ cfg ( not ( miri) ) ] // FIXME: takes too long
2885
+ #[ cfg_attr ( miri, ignore ) ] // FIXME: takes too long
2887
2886
fn test_lots_of_insertions ( ) {
2888
2887
let mut m = HashMap :: new ( ) ;
2889
2888
@@ -3490,7 +3489,7 @@ mod test_map {
3490
3489
}
3491
3490
3492
3491
#[ test]
3493
- #[ cfg ( not ( miri) ) ] // FIXME: no OOM signalling (https://github.com/rust-lang/miri/issues/613)
3492
+ #[ cfg_attr ( miri, ignore ) ] // FIXME: no OOM signalling (https://github.com/rust-lang/miri/issues/613)
3494
3493
fn test_try_reserve ( ) {
3495
3494
let mut empty_bytes: HashMap < u8 , u8 > = HashMap :: new ( ) ;
3496
3495
You can’t perform that action at this time.
0 commit comments