Skip to content

Commit

Permalink
Suppress async_yields_async clippy correctness lint in generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 30, 2023
1 parent e6e736f commit 54cc1ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 54cc1ce

Please sign in to comment.