@@ -523,7 +523,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
523
523
& cognitive_complexity:: COGNITIVE_COMPLEXITY ,
524
524
& collapsible_if:: COLLAPSIBLE_IF ,
525
525
& comparison_chain:: COMPARISON_CHAIN ,
526
- & len_zero:: COMPARISON_TO_EMPTY ,
527
526
& copies:: IFS_SAME_COND ,
528
527
& copies:: IF_SAME_THEN_ELSE ,
529
528
& copies:: MATCH_SAME_ARMS ,
@@ -609,6 +608,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
609
608
& large_const_arrays:: LARGE_CONST_ARRAYS ,
610
609
& large_enum_variant:: LARGE_ENUM_VARIANT ,
611
610
& large_stack_arrays:: LARGE_STACK_ARRAYS ,
611
+ & len_zero:: COMPARISON_TO_EMPTY ,
612
612
& len_zero:: LEN_WITHOUT_IS_EMPTY ,
613
613
& len_zero:: LEN_ZERO ,
614
614
& let_if_seq:: USELESS_LET_IF_SEQ ,
@@ -1300,7 +1300,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1300
1300
LintId :: of( & bytecount:: NAIVE_BYTECOUNT ) ,
1301
1301
LintId :: of( & collapsible_if:: COLLAPSIBLE_IF ) ,
1302
1302
LintId :: of( & comparison_chain:: COMPARISON_CHAIN ) ,
1303
- LintId :: of( & len_zero:: COMPARISON_TO_EMPTY ) ,
1304
1303
LintId :: of( & copies:: IFS_SAME_COND ) ,
1305
1304
LintId :: of( & copies:: IF_SAME_THEN_ELSE ) ,
1306
1305
LintId :: of( & derive:: DERIVE_HASH_XOR_EQ ) ,
@@ -1350,6 +1349,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1350
1349
LintId :: of( & int_plus_one:: INT_PLUS_ONE ) ,
1351
1350
LintId :: of( & large_const_arrays:: LARGE_CONST_ARRAYS ) ,
1352
1351
LintId :: of( & large_enum_variant:: LARGE_ENUM_VARIANT ) ,
1352
+ LintId :: of( & len_zero:: COMPARISON_TO_EMPTY ) ,
1353
1353
LintId :: of( & len_zero:: LEN_WITHOUT_IS_EMPTY ) ,
1354
1354
LintId :: of( & len_zero:: LEN_ZERO ) ,
1355
1355
LintId :: of( & let_underscore:: LET_UNDERSCORE_LOCK ) ,
@@ -1557,7 +1557,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1557
1557
LintId :: of( & blocks_in_if_conditions:: BLOCKS_IN_IF_CONDITIONS ) ,
1558
1558
LintId :: of( & collapsible_if:: COLLAPSIBLE_IF ) ,
1559
1559
LintId :: of( & comparison_chain:: COMPARISON_CHAIN ) ,
1560
- LintId :: of( & len_zero:: COMPARISON_TO_EMPTY ) ,
1561
1560
LintId :: of( & doc:: MISSING_SAFETY_DOC ) ,
1562
1561
LintId :: of( & doc:: NEEDLESS_DOCTEST_MAIN ) ,
1563
1562
LintId :: of( & enum_variants:: ENUM_VARIANT_NAMES ) ,
@@ -1573,6 +1572,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1573
1572
LintId :: of( & functions:: RESULT_UNIT_ERR ) ,
1574
1573
LintId :: of( & if_let_some_result:: IF_LET_SOME_RESULT ) ,
1575
1574
LintId :: of( & inherent_to_string:: INHERENT_TO_STRING ) ,
1575
+ LintId :: of( & len_zero:: COMPARISON_TO_EMPTY ) ,
1576
1576
LintId :: of( & len_zero:: LEN_WITHOUT_IS_EMPTY ) ,
1577
1577
LintId :: of( & len_zero:: LEN_ZERO ) ,
1578
1578
LintId :: of( & literal_representation:: INCONSISTENT_DIGIT_GROUPING ) ,
0 commit comments