Skip to content

Commit 6fa246a

Browse files
committed
Ignore nightly's new elided_named_lifetimes lint in generated code
1 parent 8828c35 commit 6fa246a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/expand.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ pub fn expand(input: &mut Item, is_local: bool) {
125125
fn lint_suppress_with_body() -> Attribute {
126126
parse_quote! {
127127
#[allow(
128+
elided_named_lifetimes,
128129
clippy::async_yields_async,
129130
clippy::diverging_sub_expression,
130131
clippy::let_unit_value,
@@ -140,6 +141,7 @@ fn lint_suppress_with_body() -> Attribute {
140141
fn lint_suppress_without_body() -> Attribute {
141142
parse_quote! {
142143
#[allow(
144+
elided_named_lifetimes,
143145
clippy::type_complexity,
144146
clippy::type_repetition_in_bounds
145147
)]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy