diff --git a/serde_derive/src/dummy.rs b/serde_derive/src/dummy.rs index 90a3514c..1c982824 100644 --- a/serde_derive/src/dummy.rs +++ b/serde_derive/src/dummy.rs @@ -29,6 +29,7 @@ pub fn wrap_in_const( }; quote! { + #[doc(hidden)] #[allow(non_upper_case_globals, unused_attributes, unused_qualifications)] const #dummy_const: () = { #use_serde