Skip to content

Commit

Permalink
Ignore nightly's new elided_named_lifetimes lint in generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 2, 2024
1 parent 8828c35 commit 6fa246a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ pub fn expand(input: &mut Item, is_local: bool) {
fn lint_suppress_with_body() -> Attribute {
parse_quote! {
#[allow(
elided_named_lifetimes,
clippy::async_yields_async,
clippy::diverging_sub_expression,
clippy::let_unit_value,
Expand All @@ -140,6 +141,7 @@ fn lint_suppress_with_body() -> Attribute {
fn lint_suppress_without_body() -> Attribute {
parse_quote! {
#[allow(
elided_named_lifetimes,
clippy::type_complexity,
clippy::type_repetition_in_bounds
)]
Expand Down

0 comments on commit 6fa246a

Please sign in to comment.