@@ -1880,6 +1880,8 @@ where
18801880 where
18811881 [ ( ) ; { crate :: meta_num_slots!( A , CO_ALLOC_PREF ) } ] : ,
18821882 {
1883+ crate :: meta_num_slots!( A , CO_ALLOC_PREF ) } ] : ,
1884+ {
18831885 /* Offset of the element we want to check if it is duplicate */
18841886 read : usize ,
18851887
@@ -3494,7 +3496,7 @@ where
34943496// @FIXME unsure about test
34953497#[ cfg( not( test) ) ]
34963498#[ allow( ineffective_unstable_trait_impl) ] //@FIXME What/why is #[unstable(...)] ignored here?
3497- #[ unstable( feature = "global_co_alloc" , issue= "none" ) ]
3499+ #[ unstable( feature = "global_co_alloc" , issue = "none" ) ]
34983500#[ allow( unused_braces) ]
34993501impl < T , A : Allocator , const CO_ALLOC_PREF : CoAllocPref > From < Box < [ T ] , A > >
35003502 for Vec < T , A , CO_ALLOC_PREF >
@@ -3509,8 +3511,7 @@ where
35093511#[ cfg( not( test) ) ]
35103512#[ stable( feature = "vec_from_box" , since = "1.18.0" ) ]
35113513#[ allow( unused_braces) ]
3512- impl < T , A : Allocator > From < Box < [ T ] , A > >
3513- for Vec < T , A , { CO_ALLOC_PREF_DEFAULT ! ( ) } >
3514+ impl < T , A : Allocator > From < Box < [ T ] , A > > for Vec < T , A , { CO_ALLOC_PREF_DEFAULT ! ( ) } >
35143515where
35153516 [ ( ) ; { crate :: meta_num_slots_default!( A ) } ] : ,
35163517{
@@ -3532,7 +3533,7 @@ where
35323533// @FIXME Can this apply to test?
35333534#[ cfg( not( test) ) ]
35343535#[ allow( ineffective_unstable_trait_impl) ] //@FIXME What/why is #[unstable(...)] ignored here?
3535- #[ unstable( feature = "global_co_alloc" , issue= "none" ) ]
3536+ #[ unstable( feature = "global_co_alloc" , issue = "none" ) ]
35363537#[ allow( unused_braces) ]
35373538impl < T , A : Allocator , const CO_ALLOC_PREF : CoAllocPref > From < Vec < T , A , CO_ALLOC_PREF > >
35383539 for Box < [ T ] , A >
@@ -3548,8 +3549,7 @@ where
35483549#[ cfg( not( test) ) ]
35493550#[ stable( feature = "box_from_vec" , since = "1.20.0" ) ]
35503551#[ allow( unused_braces) ]
3551- impl < T , A : Allocator > From < Vec < T , A > >
3552- for Box < [ T ] , A >
3552+ impl < T , A : Allocator > From < Vec < T , A > > for Box < [ T ] , A >
35533553where
35543554 [ ( ) ; { crate :: meta_num_slots_default!( A ) } ] : ,
35553555{
0 commit comments