@@ -287,6 +287,7 @@ mod repeat_once;
287287mod returns;
288288mod serde_api;
289289mod shadow;
290+ mod single_char_push_str;
290291mod single_component_path_imports;
291292mod slow_vector_initialization;
292293mod stable_sort_primitive;
@@ -775,6 +776,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
775776 & shadow:: SHADOW_REUSE ,
776777 & shadow:: SHADOW_SAME ,
777778 & shadow:: SHADOW_UNRELATED ,
779+ & single_char_push_str:: SINGLE_CHAR_PUSH_STR ,
778780 & single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ,
779781 & slow_vector_initialization:: SLOW_VECTOR_INITIALIZATION ,
780782 & stable_sort_primitive:: STABLE_SORT_PRIMITIVE ,
@@ -932,6 +934,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
932934 store. register_late_pass ( move || box escape:: BoxedLocal { too_large_for_stack} ) ;
933935 store. register_late_pass ( || box panic_unimplemented:: PanicUnimplemented ) ;
934936 store. register_late_pass ( || box strings:: StringLitAsBytes ) ;
937+ store. register_late_pass ( || box single_char_push_str:: SingleCharPushStrPass ) ;
935938 store. register_late_pass ( || box derive:: Derive ) ;
936939 store. register_late_pass ( || box types:: CharLitAsU8 ) ;
937940 store. register_late_pass ( || box vec:: UselessVec ) ;
@@ -1416,6 +1419,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14161419 LintId :: of( & returns:: NEEDLESS_RETURN ) ,
14171420 LintId :: of( & returns:: UNUSED_UNIT ) ,
14181421 LintId :: of( & serde_api:: SERDE_API_MISUSE ) ,
1422+ LintId :: of( & single_char_push_str:: SINGLE_CHAR_PUSH_STR ) ,
14191423 LintId :: of( & single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
14201424 LintId :: of( & slow_vector_initialization:: SLOW_VECTOR_INITIALIZATION ) ,
14211425 LintId :: of( & stable_sort_primitive:: STABLE_SORT_PRIMITIVE ) ,
@@ -1556,6 +1560,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15561560 LintId :: of( & regex:: TRIVIAL_REGEX ) ,
15571561 LintId :: of( & returns:: NEEDLESS_RETURN ) ,
15581562 LintId :: of( & returns:: UNUSED_UNIT ) ,
1563+ LintId :: of( & single_char_push_str:: SINGLE_CHAR_PUSH_STR ) ,
15591564 LintId :: of( & single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
15601565 LintId :: of( & strings:: STRING_LIT_AS_BYTES ) ,
15611566 LintId :: of( & tabs_in_doc_comments:: TABS_IN_DOC_COMMENTS ) ,
0 commit comments