@@ -241,6 +241,7 @@ mod int_plus_one;
241241mod integer_division;
242242mod invalid_upcast_comparisons;
243243mod items_after_statements;
244+ mod iter_not_returning_iterator;
244245mod large_const_arrays;
245246mod large_enum_variant;
246247mod large_stack_arrays;
@@ -674,6 +675,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
674675 integer_division:: INTEGER_DIVISION ,
675676 invalid_upcast_comparisons:: INVALID_UPCAST_COMPARISONS ,
676677 items_after_statements:: ITEMS_AFTER_STATEMENTS ,
678+ iter_not_returning_iterator:: ITER_NOT_RETURNING_ITERATOR ,
677679 large_const_arrays:: LARGE_CONST_ARRAYS ,
678680 large_enum_variant:: LARGE_ENUM_VARIANT ,
679681 large_stack_arrays:: LARGE_STACK_ARRAYS ,
@@ -1104,6 +1106,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
11041106 LintId :: of( infinite_iter:: MAYBE_INFINITE_ITER ) ,
11051107 LintId :: of( invalid_upcast_comparisons:: INVALID_UPCAST_COMPARISONS ) ,
11061108 LintId :: of( items_after_statements:: ITEMS_AFTER_STATEMENTS ) ,
1109+ LintId :: of( iter_not_returning_iterator:: ITER_NOT_RETURNING_ITERATOR ) ,
11071110 LintId :: of( large_stack_arrays:: LARGE_STACK_ARRAYS ) ,
11081111 LintId :: of( let_underscore:: LET_UNDERSCORE_DROP ) ,
11091112 LintId :: of( literal_representation:: LARGE_DIGIT_GROUPS ) ,
@@ -2131,6 +2134,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
21312134 store. register_late_pass ( || Box :: new ( strlen_on_c_strings:: StrlenOnCStrings ) ) ;
21322135 store. register_late_pass ( move || Box :: new ( self_named_constructors:: SelfNamedConstructors ) ) ;
21332136 store. register_late_pass ( move || Box :: new ( feature_name:: FeatureName ) ) ;
2137+ store. register_late_pass ( move || Box :: new ( iter_not_returning_iterator:: IterNotReturningIterator ) ) ;
21342138}
21352139
21362140#[ rustfmt:: skip]
0 commit comments