@@ -610,10 +610,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
610
610
& loops:: NEEDLESS_COLLECT ,
611
611
& loops:: NEEDLESS_RANGE_LOOP ,
612
612
& loops:: NEVER_LOOP ,
613
+ & loops:: SAME_ITEM_PUSH ,
613
614
& loops:: WHILE_IMMUTABLE_CONDITION ,
614
615
& loops:: WHILE_LET_LOOP ,
615
616
& loops:: WHILE_LET_ON_ITERATOR ,
616
- & loops:: SAME_ITEM_PUSH ,
617
617
& macro_use:: MACRO_USE_IMPORTS ,
618
618
& main_recursion:: MAIN_RECURSION ,
619
619
& manual_async_fn:: MANUAL_ASYNC_FN ,
@@ -1293,6 +1293,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1293
1293
LintId :: of( & loops:: NEEDLESS_COLLECT ) ,
1294
1294
LintId :: of( & loops:: NEEDLESS_RANGE_LOOP ) ,
1295
1295
LintId :: of( & loops:: NEVER_LOOP ) ,
1296
+ LintId :: of( & loops:: SAME_ITEM_PUSH ) ,
1296
1297
LintId :: of( & loops:: WHILE_IMMUTABLE_CONDITION ) ,
1297
1298
LintId :: of( & loops:: WHILE_LET_LOOP ) ,
1298
1299
LintId :: of( & loops:: WHILE_LET_ON_ITERATOR ) ,
@@ -1406,7 +1407,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1406
1407
LintId :: of( & repeat_once:: REPEAT_ONCE ) ,
1407
1408
LintId :: of( & returns:: NEEDLESS_RETURN ) ,
1408
1409
LintId :: of( & returns:: UNUSED_UNIT ) ,
1409
- LintId :: of( & loops:: SAME_ITEM_PUSH ) ,
1410
1410
LintId :: of( & serde_api:: SERDE_API_MISUSE ) ,
1411
1411
LintId :: of( & single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
1412
1412
LintId :: of( & slow_vector_initialization:: SLOW_VECTOR_INITIALIZATION ) ,
@@ -1495,6 +1495,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1495
1495
LintId :: of( & loops:: EMPTY_LOOP ) ,
1496
1496
LintId :: of( & loops:: FOR_KV_MAP ) ,
1497
1497
LintId :: of( & loops:: NEEDLESS_RANGE_LOOP ) ,
1498
+ LintId :: of( & loops:: SAME_ITEM_PUSH ) ,
1498
1499
LintId :: of( & loops:: WHILE_LET_ON_ITERATOR ) ,
1499
1500
LintId :: of( & main_recursion:: MAIN_RECURSION ) ,
1500
1501
LintId :: of( & manual_async_fn:: MANUAL_ASYNC_FN ) ,
@@ -1545,7 +1546,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1545
1546
LintId :: of( & regex:: TRIVIAL_REGEX ) ,
1546
1547
LintId :: of( & returns:: NEEDLESS_RETURN ) ,
1547
1548
LintId :: of( & returns:: UNUSED_UNIT ) ,
1548
- LintId :: of( & loops:: SAME_ITEM_PUSH ) ,
1549
1549
LintId :: of( & single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
1550
1550
LintId :: of( & strings:: STRING_LIT_AS_BYTES ) ,
1551
1551
LintId :: of( & tabs_in_doc_comments:: TABS_IN_DOC_COMMENTS ) ,
0 commit comments