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

+2
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)