From 54cc1ce43870e3de36f12d197ff0663a1e2e8b40 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 30 Jan 2023 13:00:28 -0800 Subject: [PATCH] Suppress async_yields_async clippy correctness lint in generated code --- src/expand.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/expand.rs b/src/expand.rs index c2cfacb..88338db 100644 --- a/src/expand.rs +++ b/src/expand.rs @@ -119,6 +119,7 @@ pub fn expand(input: &mut Item, is_local: bool) { fn lint_suppress_with_body() -> Attribute { parse_quote! { #[allow( + clippy::async_yields_async, clippy::let_unit_value, clippy::no_effect_underscore_binding, clippy::shadow_same,