Skip to content

Commit 4cf4ff6

Browse files
committed
Ignore unused_qualifications rustc lint in generated code
1 parent 2002954 commit 4cf4ff6

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+
unused_qualifications,
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+
unused_qualifications,
143145
clippy::type_complexity,
144146
clippy::type_repetition_in_bounds
145147
)]

0 commit comments

Comments
 (0)