@@ -156,6 +156,7 @@ mod utils;
156156// begin lints modules, do not remove this comment, it’s used in `update_lints`
157157pub mod approx_const;
158158pub mod arithmetic;
159+ pub mod as_conversions;
159160pub mod assertions_on_constants;
160161pub mod assign_ops;
161162pub mod attrs;
@@ -447,6 +448,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
447448 & approx_const:: APPROX_CONSTANT ,
448449 & arithmetic:: FLOAT_ARITHMETIC ,
449450 & arithmetic:: INTEGER_ARITHMETIC ,
451+ & as_conversions:: AS_CONVERSIONS ,
450452 & assertions_on_constants:: ASSERTIONS_ON_CONSTANTS ,
451453 & assign_ops:: ASSIGN_OP_PATTERN ,
452454 & assign_ops:: MISREFACTORED_ASSIGN_OP ,
@@ -951,6 +953,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
951953 store. register_late_pass ( || box mutable_debug_assertion:: DebugAssertWithMutCall ) ;
952954 store. register_late_pass ( || box exit:: Exit ) ;
953955 store. register_late_pass ( || box to_digit_is_some:: ToDigitIsSome ) ;
956+ store. register_early_pass ( || box as_conversions:: AsConversions ) ;
954957
955958 store. register_group ( true , "clippy::restriction" , Some ( "clippy_restriction" ) , vec ! [
956959 LintId :: of( & arithmetic:: FLOAT_ARITHMETIC ) ,
@@ -987,6 +990,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
987990 ] ) ;
988991
989992 store. register_group ( true , "clippy::pedantic" , Some ( "clippy_pedantic" ) , vec ! [
993+ LintId :: of( & as_conversions:: AS_CONVERSIONS ) ,
990994 LintId :: of( & attrs:: INLINE_ALWAYS ) ,
991995 LintId :: of( & checked_conversions:: CHECKED_CONVERSIONS ) ,
992996 LintId :: of( & copies:: MATCH_SAME_ARMS ) ,
0 commit comments