mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
chore(core): allow clippy::used_underscore_binding lint in command macro (#14225)
This commit is contained in:
committed by
GitHub
parent
12a6787110
commit
4188ffdafc
@@ -197,7 +197,7 @@ pub fn wrapper(attributes: TokenStream, item: TokenStream) -> TokenStream {
|
||||
};
|
||||
|
||||
async_command_check = quote_spanned! {return_type.span() =>
|
||||
#[allow(unreachable_code, clippy::diverging_sub_expression)]
|
||||
#[allow(unreachable_code, clippy::diverging_sub_expression, clippy::used_underscore_binding)]
|
||||
const _: () = if false {
|
||||
#diagnostic
|
||||
trait AsyncCommandMustReturnResult {}
|
||||
|
||||
Reference in New Issue
Block a user