From 202cb53d5bc2c5dbed376bca9da4ebc531c1e3f0 Mon Sep 17 00:00:00 2001 From: Ville Lindholm Date: Thu, 24 Oct 2024 12:36:13 +0300 Subject: [PATCH] add allow(non_camel_case_types) to generated pref structs (#33987) Signed-off-by: Ville Lindholm --- components/config_plugins/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/config_plugins/lib.rs b/components/config_plugins/lib.rs index d419310dd84..4d2eb61943c 100644 --- a/components/config_plugins/lib.rs +++ b/components/config_plugins/lib.rs @@ -84,6 +84,7 @@ impl Build { .collect::>>()?; self.output.extend(quote! { #[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] + #[allow(non_camel_case_types)] pub struct #struct_name { #(#field_defs), * }