Fix warning in proc macro (#5150)

This commit is contained in:
Laurenz 2024-10-07 15:56:45 +02:00 committed by GitHub
parent 142c9dff49
commit db9debca6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)*
}