From c81439969d72fe988a674b2dc96372d3b8ef5df2 Mon Sep 17 00:00:00 2001 From: Sean Bruton Date: Mon, 28 Aug 2023 13:51:19 -0500 Subject: [PATCH] fix rust-analyzer non_camel_case_types warning --- packages/yew-macro/src/derive_props/field.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/yew-macro/src/derive_props/field.rs b/packages/yew-macro/src/derive_props/field.rs index 7a7069a338c..4f8fd9186c9 100644 --- a/packages/yew-macro/src/derive_props/field.rs +++ b/packages/yew-macro/src/derive_props/field.rs @@ -279,6 +279,7 @@ impl<'a> PropFieldCheck<'a> { quote! { #[doc(hidden)] + #[allow(non_camel_case_types)] #vis struct #check_struct(::std::marker::PhantomData); #[automatically_derived]