@@ -615,6 +615,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
615
615
& large_const_arrays:: LARGE_CONST_ARRAYS ,
616
616
& large_enum_variant:: LARGE_ENUM_VARIANT ,
617
617
& large_stack_arrays:: LARGE_STACK_ARRAYS ,
618
+ & len_zero:: COMPARISON_TO_EMPTY ,
618
619
& len_zero:: LEN_WITHOUT_IS_EMPTY ,
619
620
& len_zero:: LEN_ZERO ,
620
621
& let_if_seq:: USELESS_LET_IF_SEQ ,
@@ -702,6 +703,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
702
703
& methods:: ITER_NTH_ZERO ,
703
704
& methods:: ITER_SKIP_NEXT ,
704
705
& methods:: MANUAL_SATURATING_ARITHMETIC ,
706
+ & methods:: MAP_COLLECT_RESULT_UNIT ,
705
707
& methods:: MAP_FLATTEN ,
706
708
& methods:: MAP_UNWRAP_OR ,
707
709
& methods:: NEW_RET_NO_SELF ,
@@ -1366,6 +1368,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1366
1368
LintId :: of( & int_plus_one:: INT_PLUS_ONE ) ,
1367
1369
LintId :: of( & large_const_arrays:: LARGE_CONST_ARRAYS ) ,
1368
1370
LintId :: of( & large_enum_variant:: LARGE_ENUM_VARIANT ) ,
1371
+ LintId :: of( & len_zero:: COMPARISON_TO_EMPTY ) ,
1369
1372
LintId :: of( & len_zero:: LEN_WITHOUT_IS_EMPTY ) ,
1370
1373
LintId :: of( & len_zero:: LEN_ZERO ) ,
1371
1374
LintId :: of( & let_underscore:: LET_UNDERSCORE_LOCK ) ,
@@ -1427,6 +1430,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1427
1430
LintId :: of( & methods:: ITER_NTH_ZERO ) ,
1428
1431
LintId :: of( & methods:: ITER_SKIP_NEXT ) ,
1429
1432
LintId :: of( & methods:: MANUAL_SATURATING_ARITHMETIC ) ,
1433
+ LintId :: of( & methods:: MAP_COLLECT_RESULT_UNIT ) ,
1430
1434
LintId :: of( & methods:: NEW_RET_NO_SELF ) ,
1431
1435
LintId :: of( & methods:: OK_EXPECT ) ,
1432
1436
LintId :: of( & methods:: OPTION_AS_REF_DEREF ) ,
@@ -1592,6 +1596,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1592
1596
LintId :: of( & functions:: RESULT_UNIT_ERR ) ,
1593
1597
LintId :: of( & if_let_some_result:: IF_LET_SOME_RESULT ) ,
1594
1598
LintId :: of( & inherent_to_string:: INHERENT_TO_STRING ) ,
1599
+ LintId :: of( & len_zero:: COMPARISON_TO_EMPTY ) ,
1595
1600
LintId :: of( & len_zero:: LEN_WITHOUT_IS_EMPTY ) ,
1596
1601
LintId :: of( & len_zero:: LEN_ZERO ) ,
1597
1602
LintId :: of( & literal_representation:: INCONSISTENT_DIGIT_GROUPING ) ,
@@ -1621,6 +1626,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1621
1626
LintId :: of( & methods:: ITER_NTH_ZERO ) ,
1622
1627
LintId :: of( & methods:: ITER_SKIP_NEXT ) ,
1623
1628
LintId :: of( & methods:: MANUAL_SATURATING_ARITHMETIC ) ,
1629
+ LintId :: of( & methods:: MAP_COLLECT_RESULT_UNIT ) ,
1624
1630
LintId :: of( & methods:: NEW_RET_NO_SELF ) ,
1625
1631
LintId :: of( & methods:: OK_EXPECT ) ,
1626
1632
LintId :: of( & methods:: OPTION_MAP_OR_NONE ) ,
0 commit comments