chore(core): allow clippy::used_underscore_binding lint in command macro (#14225)

This commit is contained in:
Rasmus Mecklenburg
2025-09-28 13:21:58 +02:00
committed by GitHub
parent 12a6787110
commit 4188ffdafc

View File

@@ -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 {}