Skip to content

Commit 54cc1ce

Browse files
committed
Suppress async_yields_async clippy correctness lint in generated code
1 parent e6e736f commit 54cc1ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/expand.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ pub fn expand(input: &mut Item, is_local: bool) {
119119
fn lint_suppress_with_body() -> Attribute {
120120
parse_quote! {
121121
#[allow(
122+
clippy::async_yields_async,
122123
clippy::let_unit_value,
123124
clippy::no_effect_underscore_binding,
124125
clippy::shadow_same,

0 commit comments

Comments
 (0)