diff --git a/time-macros/src/lib.rs b/time-macros/src/lib.rs index d9e46931b..1bec37191 100644 --- a/time-macros/src/lib.rs +++ b/time-macros/src/lib.rs @@ -68,7 +68,7 @@ enum FormatDescriptionVersion { #[cfg(any(feature = "formatting", feature = "parsing"))] enum VersionOrModuleName { Version(FormatDescriptionVersion), - #[cfg_attr(not(feature = "serde"), allow(unused_tuple_struct_fields))] + #[cfg_attr(not(feature = "serde"), allow(dead_code, unused_tuple_struct_fields))] ModuleName(Ident), }