@@ -158,7 +158,7 @@ mod atomic_ordering;
158158mod attrs;
159159mod await_holding_lock;
160160mod bit_mask;
161- mod blacklisted_name ;
161+ mod disallowed_name ;
162162mod blocks_in_if_conditions;
163163mod booleans;
164164mod bytecount;
@@ -494,7 +494,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
494494 & bit_mask:: BAD_BIT_MASK ,
495495 & bit_mask:: INEFFECTIVE_BIT_MASK ,
496496 & bit_mask:: VERBOSE_BIT_MASK ,
497- & blacklisted_name :: BLACKLISTED_NAME ,
497+ & disallowed_name :: DISALLOWED_NAME ,
498498 & blocks_in_if_conditions:: BLOCKS_IN_IF_CONDITIONS ,
499499 & booleans:: LOGIC_BUG ,
500500 & booleans:: NONMINIMAL_BOOL ,
@@ -954,8 +954,8 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
954954 store. register_late_pass ( || box swap:: Swap ) ;
955955 store. register_late_pass ( || box overflow_check_conditional:: OverflowCheckConditional ) ;
956956 store. register_late_pass ( || box new_without_default:: NewWithoutDefault :: default ( ) ) ;
957- let blacklisted_names = conf. blacklisted_names . iter ( ) . cloned ( ) . collect :: < FxHashSet < _ > > ( ) ;
958- store. register_late_pass ( move || box blacklisted_name :: BlacklistedName :: new ( blacklisted_names . clone ( ) ) ) ;
957+ let disallowed_names = conf. disallowed_names . iter ( ) . cloned ( ) . collect :: < FxHashSet < _ > > ( ) ;
958+ store. register_late_pass ( move || box disallowed_name :: DisAllowedName :: new ( disallowed_names . clone ( ) ) ) ;
959959 let too_many_arguments_threshold1 = conf. too_many_arguments_threshold ;
960960 let too_many_lines_threshold2 = conf. too_many_lines_threshold ;
961961 store. register_late_pass ( move || box functions:: Functions :: new ( too_many_arguments_threshold1, too_many_lines_threshold2) ) ;
@@ -1235,7 +1235,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12351235 LintId :: of( & bit_mask:: BAD_BIT_MASK ) ,
12361236 LintId :: of( & bit_mask:: INEFFECTIVE_BIT_MASK ) ,
12371237 LintId :: of( & bit_mask:: VERBOSE_BIT_MASK ) ,
1238- LintId :: of( & blacklisted_name :: BLACKLISTED_NAME ) ,
1238+ LintId :: of( & disallowed_name :: DISALLOWED_NAME ) ,
12391239 LintId :: of( & blocks_in_if_conditions:: BLOCKS_IN_IF_CONDITIONS ) ,
12401240 LintId :: of( & booleans:: LOGIC_BUG ) ,
12411241 LintId :: of( & booleans:: NONMINIMAL_BOOL ) ,
@@ -1492,7 +1492,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14921492 LintId :: of( & attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ) ,
14931493 LintId :: of( & attrs:: UNKNOWN_CLIPPY_LINTS ) ,
14941494 LintId :: of( & bit_mask:: VERBOSE_BIT_MASK ) ,
1495- LintId :: of( & blacklisted_name :: BLACKLISTED_NAME ) ,
1495+ LintId :: of( & disallowed_name :: DISALLOWED_NAME ) ,
14961496 LintId :: of( & blocks_in_if_conditions:: BLOCKS_IN_IF_CONDITIONS ) ,
14971497 LintId :: of( & collapsible_if:: COLLAPSIBLE_IF ) ,
14981498 LintId :: of( & comparison_chain:: COMPARISON_CHAIN ) ,
0 commit comments