File tree 3 files changed +0
-4
lines changed
3 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 171
171
#![ feature( const_precise_live_drops) ]
172
172
#![ feature( const_refs_to_cell) ]
173
173
#![ feature( decl_macro) ]
174
- #![ cfg_attr( bootstrap, feature( derive_default_enum) ) ]
175
174
#![ feature( deprecated_suggestion) ]
176
175
#![ feature( doc_cfg) ]
177
176
#![ feature( doc_notable_trait) ]
Original file line number Diff line number Diff line change @@ -4016,7 +4016,6 @@ impl<T> [T] {
4016
4016
}
4017
4017
}
4018
4018
4019
- #[ cfg( not( bootstrap) ) ]
4020
4019
impl < T , const N : usize > [ [ T ; N ] ] {
4021
4020
/// Takes a `&[[T; N]]`, and flattens it to a `&[T]`.
4022
4021
///
Original file line number Diff line number Diff line change @@ -2518,15 +2518,13 @@ fn test_slice_from_ptr_range() {
2518
2518
}
2519
2519
2520
2520
#[ test]
2521
- #[ cfg( not( bootstrap) ) ]
2522
2521
#[ should_panic = "slice len overflow" ]
2523
2522
fn test_flatten_size_overflow ( ) {
2524
2523
let x = & [ [ ( ) ; usize:: MAX ] ; 2 ] [ ..] ;
2525
2524
let _ = x. flatten ( ) ;
2526
2525
}
2527
2526
2528
2527
#[ test]
2529
- #[ cfg( not( bootstrap) ) ]
2530
2528
#[ should_panic = "slice len overflow" ]
2531
2529
fn test_flatten_mut_size_overflow ( ) {
2532
2530
let x = & mut [ [ ( ) ; usize:: MAX ] ; 2 ] [ ..] ;
You can’t perform that action at this time.
0 commit comments