This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 171171#![ feature( const_precise_live_drops) ]
172172#![ feature( const_refs_to_cell) ]
173173#![ feature( decl_macro) ]
174- #![ cfg_attr( bootstrap, feature( derive_default_enum) ) ]
175174#![ feature( deprecated_suggestion) ]
176175#![ feature( doc_cfg) ]
177176#![ feature( doc_notable_trait) ]
Original file line number Diff line number Diff line change @@ -4016,7 +4016,6 @@ impl<T> [T] {
40164016 }
40174017}
40184018
4019- #[ cfg( not( bootstrap) ) ]
40204019impl < T , const N : usize > [ [ T ; N ] ] {
40214020 /// Takes a `&[[T; N]]`, and flattens it to a `&[T]`.
40224021 ///
Original file line number Diff line number Diff line change @@ -2518,15 +2518,13 @@ fn test_slice_from_ptr_range() {
25182518}
25192519
25202520#[ test]
2521- #[ cfg( not( bootstrap) ) ]
25222521#[ should_panic = "slice len overflow" ]
25232522fn test_flatten_size_overflow ( ) {
25242523 let x = & [ [ ( ) ; usize:: MAX ] ; 2 ] [ ..] ;
25252524 let _ = x. flatten ( ) ;
25262525}
25272526
25282527#[ test]
2529- #[ cfg( not( bootstrap) ) ]
25302528#[ should_panic = "slice len overflow" ]
25312529fn test_flatten_mut_size_overflow ( ) {
25322530 let x = & mut [ [ ( ) ; usize:: MAX ] ; 2 ] [ ..] ;
You can’t perform that action at this time.
0 commit comments