@@ -330,7 +330,7 @@ mod regex;
330330mod repeat_once;
331331mod returns;
332332mod self_assignment;
333- mod self_named_constructor ;
333+ mod self_named_constructors ;
334334mod semicolon_if_nothing_returned;
335335mod serde_api;
336336mod shadow;
@@ -741,7 +741,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
741741 mem_replace:: MEM_REPLACE_OPTION_WITH_NONE ,
742742 mem_replace:: MEM_REPLACE_WITH_DEFAULT ,
743743 mem_replace:: MEM_REPLACE_WITH_UNINIT ,
744- methods:: APPEND_INSTEAD_OF_EXTEND ,
745744 methods:: BIND_INSTEAD_OF_MAP ,
746745 methods:: BYTES_NTH ,
747746 methods:: CHARS_LAST_CMP ,
@@ -752,6 +751,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
752751 methods:: CLONE_ON_REF_PTR ,
753752 methods:: EXPECT_FUN_CALL ,
754753 methods:: EXPECT_USED ,
754+ methods:: EXTEND_WITH_DRAIN ,
755755 methods:: FILETYPE_IS_FILE ,
756756 methods:: FILTER_MAP_IDENTITY ,
757757 methods:: FILTER_MAP_NEXT ,
@@ -901,7 +901,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
901901 returns:: LET_AND_RETURN ,
902902 returns:: NEEDLESS_RETURN ,
903903 self_assignment:: SELF_ASSIGNMENT ,
904- self_named_constructor :: SELF_NAMED_CONSTRUCTOR ,
904+ self_named_constructors :: SELF_NAMED_CONSTRUCTORS ,
905905 semicolon_if_nothing_returned:: SEMICOLON_IF_NOTHING_RETURNED ,
906906 serde_api:: SERDE_API_MISUSE ,
907907 shadow:: SHADOW_REUSE ,
@@ -1297,14 +1297,14 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12971297 LintId :: of( mem_replace:: MEM_REPLACE_OPTION_WITH_NONE ) ,
12981298 LintId :: of( mem_replace:: MEM_REPLACE_WITH_DEFAULT ) ,
12991299 LintId :: of( mem_replace:: MEM_REPLACE_WITH_UNINIT ) ,
1300- LintId :: of( methods:: APPEND_INSTEAD_OF_EXTEND ) ,
13011300 LintId :: of( methods:: BIND_INSTEAD_OF_MAP ) ,
13021301 LintId :: of( methods:: BYTES_NTH ) ,
13031302 LintId :: of( methods:: CHARS_LAST_CMP ) ,
13041303 LintId :: of( methods:: CHARS_NEXT_CMP ) ,
13051304 LintId :: of( methods:: CLONE_DOUBLE_REF ) ,
13061305 LintId :: of( methods:: CLONE_ON_COPY ) ,
13071306 LintId :: of( methods:: EXPECT_FUN_CALL ) ,
1307+ LintId :: of( methods:: EXTEND_WITH_DRAIN ) ,
13081308 LintId :: of( methods:: FILTER_MAP_IDENTITY ) ,
13091309 LintId :: of( methods:: FILTER_NEXT ) ,
13101310 LintId :: of( methods:: FLAT_MAP_IDENTITY ) ,
@@ -1408,7 +1408,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14081408 LintId :: of( returns:: LET_AND_RETURN ) ,
14091409 LintId :: of( returns:: NEEDLESS_RETURN ) ,
14101410 LintId :: of( self_assignment:: SELF_ASSIGNMENT ) ,
1411- LintId :: of( self_named_constructor :: SELF_NAMED_CONSTRUCTOR ) ,
1411+ LintId :: of( self_named_constructors :: SELF_NAMED_CONSTRUCTORS ) ,
14121412 LintId :: of( serde_api:: SERDE_API_MISUSE ) ,
14131413 LintId :: of( single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
14141414 LintId :: of( size_of_in_element_count:: SIZE_OF_IN_ELEMENT_COUNT ) ,
@@ -1562,7 +1562,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15621562 LintId :: of( redundant_static_lifetimes:: REDUNDANT_STATIC_LIFETIMES ) ,
15631563 LintId :: of( returns:: LET_AND_RETURN ) ,
15641564 LintId :: of( returns:: NEEDLESS_RETURN ) ,
1565- LintId :: of( self_named_constructor :: SELF_NAMED_CONSTRUCTOR ) ,
1565+ LintId :: of( self_named_constructors :: SELF_NAMED_CONSTRUCTORS ) ,
15661566 LintId :: of( single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
15671567 LintId :: of( tabs_in_doc_comments:: TABS_IN_DOC_COMMENTS ) ,
15681568 LintId :: of( to_digit_is_some:: TO_DIGIT_IS_SOME ) ,
@@ -1763,8 +1763,8 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
17631763 LintId :: of( large_enum_variant:: LARGE_ENUM_VARIANT ) ,
17641764 LintId :: of( loops:: MANUAL_MEMCPY ) ,
17651765 LintId :: of( loops:: NEEDLESS_COLLECT ) ,
1766- LintId :: of( methods:: APPEND_INSTEAD_OF_EXTEND ) ,
17671766 LintId :: of( methods:: EXPECT_FUN_CALL ) ,
1767+ LintId :: of( methods:: EXTEND_WITH_DRAIN ) ,
17681768 LintId :: of( methods:: ITER_NTH ) ,
17691769 LintId :: of( methods:: MANUAL_STR_REPEAT ) ,
17701770 LintId :: of( methods:: OR_FUN_CALL ) ,
@@ -2105,7 +2105,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
21052105 let scripts = conf. allowed_scripts . clone ( ) ;
21062106 store. register_early_pass ( move || box disallowed_script_idents:: DisallowedScriptIdents :: new ( & scripts) ) ;
21072107 store. register_late_pass ( || box strlen_on_c_strings:: StrlenOnCStrings ) ;
2108- store. register_late_pass ( move || box self_named_constructor :: SelfNamedConstructor ) ;
2108+ store. register_late_pass ( move || box self_named_constructors :: SelfNamedConstructors ) ;
21092109}
21102110
21112111#[ rustfmt:: skip]
0 commit comments