From 2db10950fe407ae5cf561fbb30a31e120a58b1ee Mon Sep 17 00:00:00 2001 From: Yacin Tmimi Date: Thu, 6 Jun 2024 23:10:29 -0400 Subject: [PATCH] allow dead code for `StyleEditionDefault` We need to allow `StyleEditionDefault` because it will be used to implement `style_edition`, but that work is currently ongoing. --- src/config/style_edition.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/style_edition.rs b/src/config/style_edition.rs index 4dd5f0164faf..7b3ea3bc1195 100644 --- a/src/config/style_edition.rs +++ b/src/config/style_edition.rs @@ -1,6 +1,7 @@ use crate::config::StyleEdition; /// Defines the default value for the given style edition +#[allow(dead_code)] pub(crate) trait StyleEditionDefault { type ConfigType; fn style_edition_default(style_edition: StyleEdition) -> Self::ConfigType;