mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
add allow too_many_arguments (#2684)
This commit is contained in:
parent
3b09312e1a
commit
66d6038f2d
1 changed files with 2 additions and 2 deletions
|
@ -647,14 +647,14 @@ fn component_macro(s: TokenStream, island: bool) -> TokenStream {
|
||||||
#expanded
|
#expanded
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[allow(non_snake_case, dead_code, clippy::too_many_arguments)]
|
#[allow(non_snake_case, dead_code, clippy::too_many_arguments, clippy::needless_lifetimes)]
|
||||||
#unexpanded
|
#unexpanded
|
||||||
}
|
}
|
||||||
} else if let Ok(mut dummy) = dummy {
|
} else if let Ok(mut dummy) = dummy {
|
||||||
dummy.sig.ident = unmodified_fn_name_from_fn_name(&dummy.sig.ident);
|
dummy.sig.ident = unmodified_fn_name_from_fn_name(&dummy.sig.ident);
|
||||||
quote! {
|
quote! {
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[allow(non_snake_case, dead_code, clippy::too_many_arguments)]
|
#[allow(non_snake_case, dead_code, clippy::too_many_arguments, clippy::needless_lifetimes)]
|
||||||
#dummy
|
#dummy
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue