mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Fix warning in proc macro (#5150)
This commit is contained in:
parent
a73d432796
commit
60bd92eec6
@ -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)*
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user