mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Fix warning in proc macro (#5150)
This commit is contained in:
parent
142c9dff49
commit
db9debca6d
@ -163,6 +163,7 @@ fn rewrite_primitive_base(item: &syn::ItemImpl, ident_ext: &syn::Ident) -> Token
|
|||||||
|
|
||||||
let self_ty = &item.self_ty;
|
let self_ty = &item.self_ty;
|
||||||
quote! {
|
quote! {
|
||||||
|
#[allow(non_camel_case_types)]
|
||||||
trait #ident_ext {
|
trait #ident_ext {
|
||||||
#(#sigs)*
|
#(#sigs)*
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user