This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +62
-58
lines changed Expand file tree Collapse file tree 4 files changed +62
-58
lines changed Original file line number Diff line number Diff line change @@ -689,6 +689,8 @@ fn gen_deprecated_lints_test(lints: &[DeprecatedLint]) -> String {
689689fn gen_renamed_lints_test ( lints : & [ RenamedLint ] ) -> String {
690690 let mut seen_lints = HashSet :: new ( ) ;
691691 let mut res: String = GENERATED_FILE_COMMENT . into ( ) ;
692+
693+ res. push_str ( "#![allow(clippy::duplicated_attributes)]\n " ) ;
692694 for lint in lints {
693695 if seen_lints. insert ( & lint. new_name ) {
694696 writeln ! ( res, "#![allow({})]" , lint. new_name) . unwrap ( ) ;
Original file line number Diff line number Diff line change 22// Use that command to update this file and do not edit by hand.
33// Manual edits will be overwritten.
44
5+ #![allow(clippy::duplicated_attributes)]
56#![allow(clippy::almost_complete_range)]
67#![allow(clippy::disallowed_names)]
78#![allow(clippy::blocks_in_conditions)]
Original file line number Diff line number Diff line change 22// Use that command to update this file and do not edit by hand.
33// Manual edits will be overwritten.
44
5+ #![ allow( clippy:: duplicated_attributes) ]
56#![ allow( clippy:: almost_complete_range) ]
67#![ allow( clippy:: disallowed_names) ]
78#![ allow( clippy:: blocks_in_conditions) ]
You can’t perform that action at this time.
0 commit comments