@@ -615,6 +615,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
615615 & large_const_arrays:: LARGE_CONST_ARRAYS ,
616616 & large_enum_variant:: LARGE_ENUM_VARIANT ,
617617 & large_stack_arrays:: LARGE_STACK_ARRAYS ,
618+ & len_zero:: COMPARISON_TO_EMPTY ,
618619 & len_zero:: LEN_WITHOUT_IS_EMPTY ,
619620 & len_zero:: LEN_ZERO ,
620621 & let_if_seq:: USELESS_LET_IF_SEQ ,
@@ -702,6 +703,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
702703 & methods:: ITER_NTH_ZERO ,
703704 & methods:: ITER_SKIP_NEXT ,
704705 & methods:: MANUAL_SATURATING_ARITHMETIC ,
706+ & methods:: MAP_COLLECT_RESULT_UNIT ,
705707 & methods:: MAP_FLATTEN ,
706708 & methods:: MAP_UNWRAP_OR ,
707709 & methods:: NEW_RET_NO_SELF ,
@@ -1366,6 +1368,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
13661368 LintId :: of( & int_plus_one:: INT_PLUS_ONE ) ,
13671369 LintId :: of( & large_const_arrays:: LARGE_CONST_ARRAYS ) ,
13681370 LintId :: of( & large_enum_variant:: LARGE_ENUM_VARIANT ) ,
1371+ LintId :: of( & len_zero:: COMPARISON_TO_EMPTY ) ,
13691372 LintId :: of( & len_zero:: LEN_WITHOUT_IS_EMPTY ) ,
13701373 LintId :: of( & len_zero:: LEN_ZERO ) ,
13711374 LintId :: of( & let_underscore:: LET_UNDERSCORE_LOCK ) ,
@@ -1427,6 +1430,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14271430 LintId :: of( & methods:: ITER_NTH_ZERO ) ,
14281431 LintId :: of( & methods:: ITER_SKIP_NEXT ) ,
14291432 LintId :: of( & methods:: MANUAL_SATURATING_ARITHMETIC ) ,
1433+ LintId :: of( & methods:: MAP_COLLECT_RESULT_UNIT ) ,
14301434 LintId :: of( & methods:: NEW_RET_NO_SELF ) ,
14311435 LintId :: of( & methods:: OK_EXPECT ) ,
14321436 LintId :: of( & methods:: OPTION_AS_REF_DEREF ) ,
@@ -1592,6 +1596,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15921596 LintId :: of( & functions:: RESULT_UNIT_ERR ) ,
15931597 LintId :: of( & if_let_some_result:: IF_LET_SOME_RESULT ) ,
15941598 LintId :: of( & inherent_to_string:: INHERENT_TO_STRING ) ,
1599+ LintId :: of( & len_zero:: COMPARISON_TO_EMPTY ) ,
15951600 LintId :: of( & len_zero:: LEN_WITHOUT_IS_EMPTY ) ,
15961601 LintId :: of( & len_zero:: LEN_ZERO ) ,
15971602 LintId :: of( & literal_representation:: INCONSISTENT_DIGIT_GROUPING ) ,
@@ -1621,6 +1626,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
16211626 LintId :: of( & methods:: ITER_NTH_ZERO ) ,
16221627 LintId :: of( & methods:: ITER_SKIP_NEXT ) ,
16231628 LintId :: of( & methods:: MANUAL_SATURATING_ARITHMETIC ) ,
1629+ LintId :: of( & methods:: MAP_COLLECT_RESULT_UNIT ) ,
16241630 LintId :: of( & methods:: NEW_RET_NO_SELF ) ,
16251631 LintId :: of( & methods:: OK_EXPECT ) ,
16261632 LintId :: of( & methods:: OPTION_MAP_OR_NONE ) ,
0 commit comments