Fix warning in proc macro (#5150)

This commit is contained in:
Laurenz 2024-10-07 15:56:45 +02:00
parent a73d432796
commit 60bd92eec6

View File

@ -163,6 +163,7 @@ fn rewrite_primitive_base(item: &syn::ItemImpl, ident_ext: &syn::Ident) -> Token
let self_ty = &item.self_ty;
quote! {
#[allow(non_camel_case_types)]
trait #ident_ext {
#(#sigs)*
}