@@ -197,6 +197,7 @@ pub mod infinite_iter;
197
197
pub mod inherent_impl;
198
198
pub mod inline_fn_without_body;
199
199
pub mod int_plus_one;
200
+ pub mod integer_division;
200
201
pub mod invalid_ref;
201
202
pub mod items_after_statements;
202
203
pub mod large_enum_variant;
@@ -580,6 +581,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
580
581
reg. register_late_lint_pass ( box transmuting_null:: TransmutingNull ) ;
581
582
reg. register_late_lint_pass ( box path_buf_push_overwrite:: PathBufPushOverwrite ) ;
582
583
reg. register_late_lint_pass ( box checked_conversions:: CheckedConversions ) ;
584
+ reg. register_late_lint_pass ( box integer_division:: IntegerDivision ) ;
583
585
584
586
reg. register_lint_group ( "clippy::restriction" , Some ( "clippy_restriction" ) , vec ! [
585
587
arithmetic:: FLOAT_ARITHMETIC ,
@@ -624,6 +626,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
624
626
functions:: TOO_MANY_LINES ,
625
627
if_not_else:: IF_NOT_ELSE ,
626
628
infinite_iter:: MAYBE_INFINITE_ITER ,
629
+ integer_division:: INTEGER_DIVISION ,
627
630
items_after_statements:: ITEMS_AFTER_STATEMENTS ,
628
631
literal_representation:: LARGE_DIGIT_GROUPS ,
629
632
loops:: EXPLICIT_INTO_ITER_LOOP ,
0 commit comments