@@ -179,7 +179,6 @@ mod derive;
179179mod doc;
180180mod double_comparison;
181181mod double_parens;
182- mod drop_bounds;
183182mod drop_forget_ref;
184183mod duration_subsec;
185184mod else_if_without_else;
@@ -478,6 +477,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
478477 "clippy::regex_macro" ,
479478 "the regex! macro has been removed from the regex crate in 2018" ,
480479 ) ;
480+ store. register_removed (
481+ "clippy::drop_bounds" ,
482+ "this lint has been uplifted to rustc and is now called `drop_bounds`" ,
483+ ) ;
481484 // end deprecated lints, do not remove this comment, it’s used in `update_lints`
482485
483486 // begin register lints, do not remove this comment, it’s used in `update_lints`
@@ -532,7 +535,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
532535 & doc:: NEEDLESS_DOCTEST_MAIN ,
533536 & double_comparison:: DOUBLE_COMPARISONS ,
534537 & double_parens:: DOUBLE_PARENS ,
535- & drop_bounds:: DROP_BOUNDS ,
536538 & drop_forget_ref:: DROP_COPY ,
537539 & drop_forget_ref:: DROP_REF ,
538540 & drop_forget_ref:: FORGET_COPY ,
@@ -959,7 +961,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
959961 store. register_late_pass ( || box strings:: StringLitAsBytes ) ;
960962 store. register_late_pass ( || box derive:: Derive ) ;
961963 store. register_late_pass ( || box types:: CharLitAsU8 ) ;
962- store. register_late_pass ( || box drop_bounds:: DropBounds ) ;
963964 store. register_late_pass ( || box get_last_with_len:: GetLastWithLen ) ;
964965 store. register_late_pass ( || box drop_forget_ref:: DropForgetRef ) ;
965966 store. register_late_pass ( || box empty_enum:: EmptyEnum ) ;
@@ -1282,7 +1283,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12821283 LintId :: of( & doc:: NEEDLESS_DOCTEST_MAIN ) ,
12831284 LintId :: of( & double_comparison:: DOUBLE_COMPARISONS ) ,
12841285 LintId :: of( & double_parens:: DOUBLE_PARENS ) ,
1285- LintId :: of( & drop_bounds:: DROP_BOUNDS ) ,
12861286 LintId :: of( & drop_forget_ref:: DROP_COPY ) ,
12871287 LintId :: of( & drop_forget_ref:: DROP_REF ) ,
12881288 LintId :: of( & drop_forget_ref:: FORGET_COPY ) ,
@@ -1714,7 +1714,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
17141714 LintId :: of( & copies:: IF_SAME_THEN_ELSE ) ,
17151715 LintId :: of( & derive:: DERIVE_HASH_XOR_EQ ) ,
17161716 LintId :: of( & derive:: DERIVE_ORD_XOR_PARTIAL_ORD ) ,
1717- LintId :: of( & drop_bounds:: DROP_BOUNDS ) ,
17181717 LintId :: of( & drop_forget_ref:: DROP_COPY ) ,
17191718 LintId :: of( & drop_forget_ref:: DROP_REF ) ,
17201719 LintId :: of( & drop_forget_ref:: FORGET_COPY ) ,
0 commit comments