@@ -606,6 +606,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
606
606
& methods:: GET_UNWRAP ,
607
607
& methods:: INEFFICIENT_TO_STRING ,
608
608
& methods:: INTO_ITER_ON_REF ,
609
+ & methods:: ITERATOR_STEP_BY_ZERO ,
609
610
& methods:: ITER_CLONED_COLLECT ,
610
611
& methods:: ITER_NTH ,
611
612
& methods:: ITER_SKIP_NEXT ,
@@ -699,7 +700,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
699
700
& ptr:: PTR_ARG ,
700
701
& ptr_offset_with_cast:: PTR_OFFSET_WITH_CAST ,
701
702
& question_mark:: QUESTION_MARK ,
702
- & ranges:: ITERATOR_STEP_BY_ZERO ,
703
703
& ranges:: RANGE_MINUS_ONE ,
704
704
& ranges:: RANGE_PLUS_ONE ,
705
705
& ranges:: RANGE_ZIP_WITH_LEN ,
@@ -1179,6 +1179,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
1179
1179
LintId :: of( & methods:: FLAT_MAP_IDENTITY ) ,
1180
1180
LintId :: of( & methods:: INEFFICIENT_TO_STRING ) ,
1181
1181
LintId :: of( & methods:: INTO_ITER_ON_REF ) ,
1182
+ LintId :: of( & methods:: ITERATOR_STEP_BY_ZERO ) ,
1182
1183
LintId :: of( & methods:: ITER_CLONED_COLLECT ) ,
1183
1184
LintId :: of( & methods:: ITER_NTH ) ,
1184
1185
LintId :: of( & methods:: ITER_SKIP_NEXT ) ,
@@ -1244,7 +1245,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
1244
1245
LintId :: of( & ptr:: PTR_ARG ) ,
1245
1246
LintId :: of( & ptr_offset_with_cast:: PTR_OFFSET_WITH_CAST ) ,
1246
1247
LintId :: of( & question_mark:: QUESTION_MARK ) ,
1247
- LintId :: of( & ranges:: ITERATOR_STEP_BY_ZERO ) ,
1248
1248
LintId :: of( & ranges:: RANGE_MINUS_ONE ) ,
1249
1249
LintId :: of( & ranges:: RANGE_PLUS_ONE ) ,
1250
1250
LintId :: of( & ranges:: RANGE_ZIP_WITH_LEN ) ,
@@ -1521,6 +1521,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
1521
1521
LintId :: of( & mem_discriminant:: MEM_DISCRIMINANT_NON_ENUM ) ,
1522
1522
LintId :: of( & mem_replace:: MEM_REPLACE_WITH_UNINIT ) ,
1523
1523
LintId :: of( & methods:: CLONE_DOUBLE_REF ) ,
1524
+ LintId :: of( & methods:: ITERATOR_STEP_BY_ZERO ) ,
1524
1525
LintId :: of( & methods:: TEMPORARY_CSTRING_AS_PTR ) ,
1525
1526
LintId :: of( & methods:: UNINIT_ASSUMED_INIT ) ,
1526
1527
LintId :: of( & methods:: ZST_OFFSET ) ,
@@ -1533,7 +1534,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
1533
1534
LintId :: of( & non_copy_const:: DECLARE_INTERIOR_MUTABLE_CONST ) ,
1534
1535
LintId :: of( & open_options:: NONSENSICAL_OPEN_OPTIONS ) ,
1535
1536
LintId :: of( & ptr:: MUT_FROM_REF ) ,
1536
- LintId :: of( & ranges:: ITERATOR_STEP_BY_ZERO ) ,
1537
1537
LintId :: of( & regex:: INVALID_REGEX ) ,
1538
1538
LintId :: of( & serde_api:: SERDE_API_MISUSE ) ,
1539
1539
LintId :: of( & suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ) ,
0 commit comments