@@ -241,6 +241,7 @@ mod int_plus_one;
241
241
mod integer_division;
242
242
mod invalid_upcast_comparisons;
243
243
mod items_after_statements;
244
+ mod iter_not_returning_iterator;
244
245
mod large_const_arrays;
245
246
mod large_enum_variant;
246
247
mod large_stack_arrays;
@@ -674,6 +675,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
674
675
integer_division:: INTEGER_DIVISION ,
675
676
invalid_upcast_comparisons:: INVALID_UPCAST_COMPARISONS ,
676
677
items_after_statements:: ITEMS_AFTER_STATEMENTS ,
678
+ iter_not_returning_iterator:: ITER_NOT_RETURNING_ITERATOR ,
677
679
large_const_arrays:: LARGE_CONST_ARRAYS ,
678
680
large_enum_variant:: LARGE_ENUM_VARIANT ,
679
681
large_stack_arrays:: LARGE_STACK_ARRAYS ,
@@ -1104,6 +1106,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1104
1106
LintId :: of( infinite_iter:: MAYBE_INFINITE_ITER ) ,
1105
1107
LintId :: of( invalid_upcast_comparisons:: INVALID_UPCAST_COMPARISONS ) ,
1106
1108
LintId :: of( items_after_statements:: ITEMS_AFTER_STATEMENTS ) ,
1109
+ LintId :: of( iter_not_returning_iterator:: ITER_NOT_RETURNING_ITERATOR ) ,
1107
1110
LintId :: of( large_stack_arrays:: LARGE_STACK_ARRAYS ) ,
1108
1111
LintId :: of( let_underscore:: LET_UNDERSCORE_DROP ) ,
1109
1112
LintId :: of( literal_representation:: LARGE_DIGIT_GROUPS ) ,
@@ -2131,6 +2134,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
2131
2134
store. register_late_pass ( || Box :: new ( strlen_on_c_strings:: StrlenOnCStrings ) ) ;
2132
2135
store. register_late_pass ( move || Box :: new ( self_named_constructors:: SelfNamedConstructors ) ) ;
2133
2136
store. register_late_pass ( move || Box :: new ( feature_name:: FeatureName ) ) ;
2137
+ store. register_late_pass ( move || Box :: new ( iter_not_returning_iterator:: IterNotReturningIterator ) ) ;
2134
2138
}
2135
2139
2136
2140
#[ rustfmt:: skip]
0 commit comments