diff --git a/serde_derive/src/de.rs b/serde_derive/src/de.rs index 1b533e19c..4967e35d1 100644 --- a/serde_derive/src/de.rs +++ b/serde_derive/src/de.rs @@ -33,6 +33,7 @@ pub fn expand_derive_deserialize(input: &mut syn::DeriveInput) -> syn::Result(__deserializer: __D) -> #serde::__private::Result<#remote #ty_generics, __D::Error> where @@ -1606,6 +1607,7 @@ fn deserialize_adjacently_tagged_enum( lifetime: _serde::__private::PhantomData<&#delife ()>, } + #[automatically_derived] impl #de_impl_generics _serde::de::DeserializeSeed<#delife> for __Seed #de_ty_generics #where_clause { type Value = #this_type #ty_generics; @@ -2920,6 +2922,7 @@ fn wrap_deserialize_with( lifetime: _serde::__private::PhantomData<&#delife ()>, } + #[automatically_derived] impl #de_impl_generics _serde::Deserialize<#delife> for __DeserializeWith #de_ty_generics #where_clause { fn deserialize<__D>(#deserializer_var: __D) -> _serde::__private::Result where diff --git a/serde_derive/src/ser.rs b/serde_derive/src/ser.rs index ecdf6470d..c92800d51 100644 --- a/serde_derive/src/ser.rs +++ b/serde_derive/src/ser.rs @@ -29,6 +29,7 @@ pub fn expand_derive_serialize(input: &mut syn::DeriveInput) -> syn::Result(__self: &#remote #ty_generics, __serializer: __S) -> #serde::__private::Result<__S::Ok, __S::Error> where @@ -733,6 +734,7 @@ fn serialize_adjacently_tagged_variant( phantom: _serde::__private::PhantomData<#this_type #ty_generics>, } + #[automatically_derived] impl #wrapper_impl_generics _serde::Serialize for __AdjacentlyTagged #wrapper_ty_generics #where_clause { fn serialize<__S>(&self, __serializer: __S) -> _serde::__private::Result<__S::Ok, __S::Error> where @@ -997,6 +999,7 @@ fn serialize_struct_variant_with_flatten( phantom: _serde::__private::PhantomData<#this_type #ty_generics>, } + #[automatically_derived] impl #wrapper_impl_generics _serde::Serialize for __EnumFlatten #wrapper_ty_generics #where_clause { fn serialize<__S>(&self, __serializer: __S) -> _serde::__private::Result<__S::Ok, __S::Error> where @@ -1239,6 +1242,7 @@ fn wrap_serialize_with( phantom: _serde::__private::PhantomData<#this_type #ty_generics>, } + #[automatically_derived] impl #wrapper_impl_generics _serde::Serialize for __SerializeWith #wrapper_ty_generics #where_clause { fn serialize<__S>(&#self_var, #serializer_var: __S) -> _serde::__private::Result<__S::Ok, __S::Error> where