@@ -532,6 +532,7 @@ mod tests {
532
532
use crate :: { Alpha , Hsl , Hsv , Hwb , Lab , Lch , Xyz , Yxy } ;
533
533
use crate :: { FloatComponent , Limited } ;
534
534
535
+ #[ derive( FromColorUnclamped , WithAlpha ) ]
535
536
#[ palette(
536
537
skip_derives( Xyz , Luma ) ,
537
538
white_point = "S::WhitePoint" ,
@@ -540,7 +541,6 @@ mod tests {
540
541
palette_internal,
541
542
palette_internal_not_base_type
542
543
) ]
543
- #[ derive( FromColorUnclamped , WithAlpha ) ]
544
544
struct WithXyz < S : RgbSpace > ( PhantomData < S > ) ;
545
545
546
546
impl < S : RgbSpace > Clone for WithXyz < S > {
@@ -601,6 +601,7 @@ mod tests {
601
601
}
602
602
}
603
603
604
+ #[ derive( Copy , Clone , FromColorUnclamped , WithAlpha ) ]
604
605
#[ palette(
605
606
skip_derives( Lch , Luma ) ,
606
607
white_point = "crate::white_point::E" ,
@@ -609,7 +610,6 @@ mod tests {
609
610
palette_internal,
610
611
palette_internal_not_base_type
611
612
) ]
612
- #[ derive( Copy , Clone , FromColorUnclamped , WithAlpha ) ]
613
613
struct WithoutXyz < T : FloatComponent > ( PhantomData < T > ) ;
614
614
615
615
impl < T : FloatComponent > Limited for WithoutXyz < T > {
0 commit comments