diff --git a/derive/tests/basic.rs b/derive/tests/basic.rs index 293d391..444b844 100644 --- a/derive/tests/basic.rs +++ b/derive/tests/basic.rs @@ -160,7 +160,7 @@ struct AnyBitPatternTest { struct NewtypeWrapperTest(T); #[derive( - Debug, Copy, Clone, PartialEq, Eq, TransparentWrapper, + Debug, Clone, PartialEq, Eq, TransparentWrapper, )] #[repr(transparent)] struct AlgebraicNewtypeWrapperTest(Vec); @@ -173,7 +173,7 @@ fn algebraic_newtype_corect() { } #[derive( - Debug, Copy, Clone, PartialEq, Eq, TransparentWrapper, + Debug, Clone, PartialEq, Eq, TransparentWrapper, )] #[repr(transparent)] #[transparent(Vec)] @@ -182,7 +182,7 @@ struct AlgebraicNewtypeWrapperTestWithFields(Vec, PhantomData); #[test] fn algebraic_newtype_fields_corect() { let x: Vec = vec![1, 2, 3, 4]; - let y: AlgebraicNewtypeWrapperTest = AlgebraicNewtypeWrapperTest::wrap(x.clone()); + let y: AlgebraicNewtypeWrapperTestWithFields = AlgebraicNewtypeWrapperTestWithFields::wrap(x.clone()); assert_eq!(y.0, x); }