@@ -1880,6 +1880,8 @@ where
1880
1880
where
1881
1881
[ ( ) ; { crate :: meta_num_slots!( A , CO_ALLOC_PREF ) } ] : ,
1882
1882
{
1883
+ crate :: meta_num_slots!( A , CO_ALLOC_PREF ) } ] : ,
1884
+ {
1883
1885
/* Offset of the element we want to check if it is duplicate */
1884
1886
read : usize ,
1885
1887
@@ -3494,7 +3496,7 @@ where
3494
3496
// @FIXME unsure about test
3495
3497
#[ cfg( not( test) ) ]
3496
3498
#[ 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" ) ]
3498
3500
#[ allow( unused_braces) ]
3499
3501
impl < T , A : Allocator , const CO_ALLOC_PREF : CoAllocPref > From < Box < [ T ] , A > >
3500
3502
for Vec < T , A , CO_ALLOC_PREF >
@@ -3509,8 +3511,7 @@ where
3509
3511
#[ cfg( not( test) ) ]
3510
3512
#[ stable( feature = "vec_from_box" , since = "1.18.0" ) ]
3511
3513
#[ 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 ! ( ) } >
3514
3515
where
3515
3516
[ ( ) ; { crate :: meta_num_slots_default!( A ) } ] : ,
3516
3517
{
@@ -3532,7 +3533,7 @@ where
3532
3533
// @FIXME Can this apply to test?
3533
3534
#[ cfg( not( test) ) ]
3534
3535
#[ 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" ) ]
3536
3537
#[ allow( unused_braces) ]
3537
3538
impl < T , A : Allocator , const CO_ALLOC_PREF : CoAllocPref > From < Vec < T , A , CO_ALLOC_PREF > >
3538
3539
for Box < [ T ] , A >
@@ -3548,8 +3549,7 @@ where
3548
3549
#[ cfg( not( test) ) ]
3549
3550
#[ stable( feature = "box_from_vec" , since = "1.20.0" ) ]
3550
3551
#[ 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 >
3553
3553
where
3554
3554
[ ( ) ; { crate :: meta_num_slots_default!( A ) } ] : ,
3555
3555
{
0 commit comments