Skip to content

Commit

Permalink
Merge pull request #276 from dtolnay/elidednamed
Browse files Browse the repository at this point in the history
Ignore nightly's new elided_named_lifetimes lint in generated code
  • Loading branch information
dtolnay authored Sep 2, 2024
2 parents d542a0d + 6fa246a commit 8fbf118
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 8fbf118

Please sign in to comment.