@@ -179,7 +179,6 @@ mod derive;
179
179
mod doc;
180
180
mod double_comparison;
181
181
mod double_parens;
182
- mod drop_bounds;
183
182
mod drop_forget_ref;
184
183
mod duration_subsec;
185
184
mod else_if_without_else;
@@ -478,6 +477,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
478
477
"clippy::regex_macro" ,
479
478
"the regex! macro has been removed from the regex crate in 2018" ,
480
479
) ;
480
+ store. register_removed (
481
+ "clippy::drop_bounds" ,
482
+ "this lint has been uplifted to rustc and is now called `drop_bounds`" ,
483
+ ) ;
481
484
// end deprecated lints, do not remove this comment, it’s used in `update_lints`
482
485
483
486
// 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:
532
535
& doc:: NEEDLESS_DOCTEST_MAIN ,
533
536
& double_comparison:: DOUBLE_COMPARISONS ,
534
537
& double_parens:: DOUBLE_PARENS ,
535
- & drop_bounds:: DROP_BOUNDS ,
536
538
& drop_forget_ref:: DROP_COPY ,
537
539
& drop_forget_ref:: DROP_REF ,
538
540
& drop_forget_ref:: FORGET_COPY ,
@@ -959,7 +961,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
959
961
store. register_late_pass ( || box strings:: StringLitAsBytes ) ;
960
962
store. register_late_pass ( || box derive:: Derive ) ;
961
963
store. register_late_pass ( || box types:: CharLitAsU8 ) ;
962
- store. register_late_pass ( || box drop_bounds:: DropBounds ) ;
963
964
store. register_late_pass ( || box get_last_with_len:: GetLastWithLen ) ;
964
965
store. register_late_pass ( || box drop_forget_ref:: DropForgetRef ) ;
965
966
store. register_late_pass ( || box empty_enum:: EmptyEnum ) ;
@@ -1282,7 +1283,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1282
1283
LintId :: of( & doc:: NEEDLESS_DOCTEST_MAIN ) ,
1283
1284
LintId :: of( & double_comparison:: DOUBLE_COMPARISONS ) ,
1284
1285
LintId :: of( & double_parens:: DOUBLE_PARENS ) ,
1285
- LintId :: of( & drop_bounds:: DROP_BOUNDS ) ,
1286
1286
LintId :: of( & drop_forget_ref:: DROP_COPY ) ,
1287
1287
LintId :: of( & drop_forget_ref:: DROP_REF ) ,
1288
1288
LintId :: of( & drop_forget_ref:: FORGET_COPY ) ,
@@ -1714,7 +1714,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1714
1714
LintId :: of( & copies:: IF_SAME_THEN_ELSE ) ,
1715
1715
LintId :: of( & derive:: DERIVE_HASH_XOR_EQ ) ,
1716
1716
LintId :: of( & derive:: DERIVE_ORD_XOR_PARTIAL_ORD ) ,
1717
- LintId :: of( & drop_bounds:: DROP_BOUNDS ) ,
1718
1717
LintId :: of( & drop_forget_ref:: DROP_COPY ) ,
1719
1718
LintId :: of( & drop_forget_ref:: DROP_REF ) ,
1720
1719
LintId :: of( & drop_forget_ref:: FORGET_COPY ) ,
0 commit comments