@@ -195,7 +195,6 @@ pub mod else_if_without_else;
195
195
pub mod empty_enum;
196
196
pub mod entry;
197
197
pub mod enum_clike;
198
- pub mod enum_glob_use;
199
198
pub mod enum_variants;
200
199
pub mod eq_op;
201
200
pub mod erasing_op;
@@ -517,7 +516,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
517
516
& empty_enum:: EMPTY_ENUM ,
518
517
& entry:: MAP_ENTRY ,
519
518
& enum_clike:: ENUM_CLIKE_UNPORTABLE_VARIANT ,
520
- & enum_glob_use:: ENUM_GLOB_USE ,
521
519
& enum_variants:: ENUM_VARIANT_NAMES ,
522
520
& enum_variants:: MODULE_INCEPTION ,
523
521
& enum_variants:: MODULE_NAME_REPETITIONS ,
@@ -809,6 +807,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
809
807
& use_self:: USE_SELF ,
810
808
& vec:: USELESS_VEC ,
811
809
& wildcard_dependencies:: WILDCARD_DEPENDENCIES ,
810
+ & wildcard_imports:: ENUM_GLOB_USE ,
812
811
& wildcard_imports:: WILDCARD_IMPORTS ,
813
812
& write:: PRINTLN_EMPTY_STRING ,
814
813
& write:: PRINT_LITERAL ,
@@ -832,7 +831,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
832
831
store. register_late_pass ( move || box types:: Types :: new ( vec_box_size_threshold) ) ;
833
832
store. register_late_pass ( || box booleans:: NonminimalBool ) ;
834
833
store. register_late_pass ( || box eq_op:: EqOp ) ;
835
- store. register_late_pass ( || box enum_glob_use:: EnumGlobUse ) ;
836
834
store. register_late_pass ( || box enum_clike:: UnportableVariant ) ;
837
835
store. register_late_pass ( || box excessive_precision:: ExcessivePrecision ) ;
838
836
let verbose_bit_mask_threshold = conf. verbose_bit_mask_threshold ;
@@ -1056,7 +1054,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1056
1054
LintId :: of( & doc:: DOC_MARKDOWN ) ,
1057
1055
LintId :: of( & doc:: MISSING_ERRORS_DOC ) ,
1058
1056
LintId :: of( & empty_enum:: EMPTY_ENUM ) ,
1059
- LintId :: of( & enum_glob_use:: ENUM_GLOB_USE ) ,
1060
1057
LintId :: of( & enum_variants:: MODULE_NAME_REPETITIONS ) ,
1061
1058
LintId :: of( & enum_variants:: PUB_ENUM_VARIANT_NAMES ) ,
1062
1059
LintId :: of( & eta_reduction:: REDUNDANT_CLOSURE_FOR_METHOD_CALLS ) ,
@@ -1100,6 +1097,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1100
1097
LintId :: of( & unicode:: NON_ASCII_LITERAL ) ,
1101
1098
LintId :: of( & unicode:: UNICODE_NOT_NFC ) ,
1102
1099
LintId :: of( & unused_self:: UNUSED_SELF ) ,
1100
+ LintId :: of( & wildcard_imports:: ENUM_GLOB_USE ) ,
1103
1101
LintId :: of( & wildcard_imports:: WILDCARD_IMPORTS ) ,
1104
1102
] ) ;
1105
1103
0 commit comments