@@ -181,7 +181,6 @@ mod disallowed_method;
181181mod doc;
182182mod double_comparison;
183183mod double_parens;
184- mod drop_bounds;
185184mod drop_forget_ref;
186185mod duration_subsec;
187186mod else_if_without_else;
@@ -480,6 +479,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
480479 "clippy::regex_macro" ,
481480 "the regex! macro has been removed from the regex crate in 2018" ,
482481 ) ;
482+ store. register_removed (
483+ "clippy::drop_bounds" ,
484+ "this lint has been uplifted to rustc and is now called `drop_bounds`" ,
485+ ) ;
483486 // end deprecated lints, do not remove this comment, it’s used in `update_lints`
484487
485488 // begin register lints, do not remove this comment, it’s used in `update_lints`
@@ -537,7 +540,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
537540 & doc:: NEEDLESS_DOCTEST_MAIN ,
538541 & double_comparison:: DOUBLE_COMPARISONS ,
539542 & double_parens:: DOUBLE_PARENS ,
540- & drop_bounds:: DROP_BOUNDS ,
541543 & drop_forget_ref:: DROP_COPY ,
542544 & drop_forget_ref:: DROP_REF ,
543545 & drop_forget_ref:: FORGET_COPY ,
@@ -964,7 +966,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
964966 store. register_late_pass ( || box strings:: StringLitAsBytes ) ;
965967 store. register_late_pass ( || box derive:: Derive ) ;
966968 store. register_late_pass ( || box types:: CharLitAsU8 ) ;
967- store. register_late_pass ( || box drop_bounds:: DropBounds ) ;
968969 store. register_late_pass ( || box get_last_with_len:: GetLastWithLen ) ;
969970 store. register_late_pass ( || box drop_forget_ref:: DropForgetRef ) ;
970971 store. register_late_pass ( || box empty_enum:: EmptyEnum ) ;
@@ -1294,7 +1295,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12941295 LintId :: of( & doc:: NEEDLESS_DOCTEST_MAIN ) ,
12951296 LintId :: of( & double_comparison:: DOUBLE_COMPARISONS ) ,
12961297 LintId :: of( & double_parens:: DOUBLE_PARENS ) ,
1297- LintId :: of( & drop_bounds:: DROP_BOUNDS ) ,
12981298 LintId :: of( & drop_forget_ref:: DROP_COPY ) ,
12991299 LintId :: of( & drop_forget_ref:: DROP_REF ) ,
13001300 LintId :: of( & drop_forget_ref:: FORGET_COPY ) ,
@@ -1728,7 +1728,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
17281728 LintId :: of( & copies:: IF_SAME_THEN_ELSE ) ,
17291729 LintId :: of( & derive:: DERIVE_HASH_XOR_EQ ) ,
17301730 LintId :: of( & derive:: DERIVE_ORD_XOR_PARTIAL_ORD ) ,
1731- LintId :: of( & drop_bounds:: DROP_BOUNDS ) ,
17321731 LintId :: of( & drop_forget_ref:: DROP_COPY ) ,
17331732 LintId :: of( & drop_forget_ref:: DROP_REF ) ,
17341733 LintId :: of( & drop_forget_ref:: FORGET_COPY ) ,
0 commit comments