@@ -234,6 +234,7 @@ pub mod let_underscore;
234234pub mod lifetimes;
235235pub mod literal_representation;
236236pub mod loops;
237+ pub mod macro_use;
237238pub mod main_recursion;
238239pub mod map_clone;
239240pub mod map_unit_fn;
@@ -599,6 +600,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
599600 & loops:: WHILE_IMMUTABLE_CONDITION ,
600601 & loops:: WHILE_LET_LOOP ,
601602 & loops:: WHILE_LET_ON_ITERATOR ,
603+ & macro_use:: MACRO_USE_IMPORT ,
602604 & main_recursion:: MAIN_RECURSION ,
603605 & map_clone:: MAP_CLONE ,
604606 & map_unit_fn:: OPTION_MAP_UNIT_FN ,
@@ -1012,6 +1014,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
10121014 store. register_early_pass ( move || box excessive_bools:: ExcessiveBools :: new ( max_struct_bools, max_fn_params_bools) ) ;
10131015 store. register_early_pass ( || box option_env_unwrap:: OptionEnvUnwrap ) ;
10141016 store. register_late_pass ( || box wildcard_imports:: WildcardImports ) ;
1017+ store. register_early_pass ( || box macro_use:: MacroUseImport ) ;
10151018
10161019 store. register_group ( true , "clippy::restriction" , Some ( "clippy_restriction" ) , vec ! [
10171020 LintId :: of( & arithmetic:: FLOAT_ARITHMETIC ) ,
@@ -1079,6 +1082,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
10791082 LintId :: of( & literal_representation:: LARGE_DIGIT_GROUPS ) ,
10801083 LintId :: of( & loops:: EXPLICIT_INTO_ITER_LOOP ) ,
10811084 LintId :: of( & loops:: EXPLICIT_ITER_LOOP ) ,
1085+ LintId :: of( & macro_use:: MACRO_USE_IMPORT ) ,
10821086 LintId :: of( & matches:: SINGLE_MATCH_ELSE ) ,
10831087 LintId :: of( & methods:: FILTER_MAP ) ,
10841088 LintId :: of( & methods:: FILTER_MAP_NEXT ) ,
0 commit comments