@@ -329,7 +329,7 @@ mod regex;
329329mod repeat_once;
330330mod returns;
331331mod self_assignment;
332- mod self_named_constructor ;
332+ mod self_named_constructors ;
333333mod semicolon_if_nothing_returned;
334334mod serde_api;
335335mod shadow;
@@ -740,7 +740,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
740740 mem_replace:: MEM_REPLACE_OPTION_WITH_NONE ,
741741 mem_replace:: MEM_REPLACE_WITH_DEFAULT ,
742742 mem_replace:: MEM_REPLACE_WITH_UNINIT ,
743- methods:: APPEND_INSTEAD_OF_EXTEND ,
744743 methods:: BIND_INSTEAD_OF_MAP ,
745744 methods:: BYTES_NTH ,
746745 methods:: CHARS_LAST_CMP ,
@@ -751,6 +750,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
751750 methods:: CLONE_ON_REF_PTR ,
752751 methods:: EXPECT_FUN_CALL ,
753752 methods:: EXPECT_USED ,
753+ methods:: EXTEND_WITH_DRAIN ,
754754 methods:: FILETYPE_IS_FILE ,
755755 methods:: FILTER_MAP_IDENTITY ,
756756 methods:: FILTER_MAP_NEXT ,
@@ -900,7 +900,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
900900 returns:: LET_AND_RETURN ,
901901 returns:: NEEDLESS_RETURN ,
902902 self_assignment:: SELF_ASSIGNMENT ,
903- self_named_constructor :: SELF_NAMED_CONSTRUCTOR ,
903+ self_named_constructors :: SELF_NAMED_CONSTRUCTORS ,
904904 semicolon_if_nothing_returned:: SEMICOLON_IF_NOTHING_RETURNED ,
905905 serde_api:: SERDE_API_MISUSE ,
906906 shadow:: SHADOW_REUSE ,
@@ -1296,14 +1296,14 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12961296 LintId :: of( mem_replace:: MEM_REPLACE_OPTION_WITH_NONE ) ,
12971297 LintId :: of( mem_replace:: MEM_REPLACE_WITH_DEFAULT ) ,
12981298 LintId :: of( mem_replace:: MEM_REPLACE_WITH_UNINIT ) ,
1299- LintId :: of( methods:: APPEND_INSTEAD_OF_EXTEND ) ,
13001299 LintId :: of( methods:: BIND_INSTEAD_OF_MAP ) ,
13011300 LintId :: of( methods:: BYTES_NTH ) ,
13021301 LintId :: of( methods:: CHARS_LAST_CMP ) ,
13031302 LintId :: of( methods:: CHARS_NEXT_CMP ) ,
13041303 LintId :: of( methods:: CLONE_DOUBLE_REF ) ,
13051304 LintId :: of( methods:: CLONE_ON_COPY ) ,
13061305 LintId :: of( methods:: EXPECT_FUN_CALL ) ,
1306+ LintId :: of( methods:: EXTEND_WITH_DRAIN ) ,
13071307 LintId :: of( methods:: FILTER_MAP_IDENTITY ) ,
13081308 LintId :: of( methods:: FILTER_NEXT ) ,
13091309 LintId :: of( methods:: FLAT_MAP_IDENTITY ) ,
@@ -1407,7 +1407,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14071407 LintId :: of( returns:: LET_AND_RETURN ) ,
14081408 LintId :: of( returns:: NEEDLESS_RETURN ) ,
14091409 LintId :: of( self_assignment:: SELF_ASSIGNMENT ) ,
1410- LintId :: of( self_named_constructor :: SELF_NAMED_CONSTRUCTOR ) ,
1410+ LintId :: of( self_named_constructors :: SELF_NAMED_CONSTRUCTORS ) ,
14111411 LintId :: of( serde_api:: SERDE_API_MISUSE ) ,
14121412 LintId :: of( single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
14131413 LintId :: of( size_of_in_element_count:: SIZE_OF_IN_ELEMENT_COUNT ) ,
@@ -1561,7 +1561,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15611561 LintId :: of( redundant_static_lifetimes:: REDUNDANT_STATIC_LIFETIMES ) ,
15621562 LintId :: of( returns:: LET_AND_RETURN ) ,
15631563 LintId :: of( returns:: NEEDLESS_RETURN ) ,
1564- LintId :: of( self_named_constructor :: SELF_NAMED_CONSTRUCTOR ) ,
1564+ LintId :: of( self_named_constructors :: SELF_NAMED_CONSTRUCTORS ) ,
15651565 LintId :: of( single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
15661566 LintId :: of( tabs_in_doc_comments:: TABS_IN_DOC_COMMENTS ) ,
15671567 LintId :: of( to_digit_is_some:: TO_DIGIT_IS_SOME ) ,
@@ -1762,8 +1762,8 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
17621762 LintId :: of( large_enum_variant:: LARGE_ENUM_VARIANT ) ,
17631763 LintId :: of( loops:: MANUAL_MEMCPY ) ,
17641764 LintId :: of( loops:: NEEDLESS_COLLECT ) ,
1765- LintId :: of( methods:: APPEND_INSTEAD_OF_EXTEND ) ,
17661765 LintId :: of( methods:: EXPECT_FUN_CALL ) ,
1766+ LintId :: of( methods:: EXTEND_WITH_DRAIN ) ,
17671767 LintId :: of( methods:: ITER_NTH ) ,
17681768 LintId :: of( methods:: MANUAL_STR_REPEAT ) ,
17691769 LintId :: of( methods:: OR_FUN_CALL ) ,
@@ -2104,7 +2104,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
21042104 let scripts = conf. allowed_scripts . clone ( ) ;
21052105 store. register_early_pass ( move || box disallowed_script_idents:: DisallowedScriptIdents :: new ( & scripts) ) ;
21062106 store. register_late_pass ( || box strlen_on_c_strings:: StrlenOnCStrings ) ;
2107- store. register_late_pass ( move || box self_named_constructor :: SelfNamedConstructor ) ;
2107+ store. register_late_pass ( move || box self_named_constructors :: SelfNamedConstructors ) ;
21082108}
21092109
21102110#[ rustfmt:: skip]
0 commit comments