@@ -181,7 +181,6 @@ mod disallowed_method;
181
181
mod doc;
182
182
mod double_comparison;
183
183
mod double_parens;
184
- mod drop_bounds;
185
184
mod drop_forget_ref;
186
185
mod duration_subsec;
187
186
mod else_if_without_else;
@@ -480,6 +479,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
480
479
"clippy::regex_macro" ,
481
480
"the regex! macro has been removed from the regex crate in 2018" ,
482
481
) ;
482
+ store. register_removed (
483
+ "clippy::drop_bounds" ,
484
+ "this lint has been uplifted to rustc and is now called `drop_bounds`" ,
485
+ ) ;
483
486
// end deprecated lints, do not remove this comment, it’s used in `update_lints`
484
487
485
488
// 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:
537
540
& doc:: NEEDLESS_DOCTEST_MAIN ,
538
541
& double_comparison:: DOUBLE_COMPARISONS ,
539
542
& double_parens:: DOUBLE_PARENS ,
540
- & drop_bounds:: DROP_BOUNDS ,
541
543
& drop_forget_ref:: DROP_COPY ,
542
544
& drop_forget_ref:: DROP_REF ,
543
545
& drop_forget_ref:: FORGET_COPY ,
@@ -964,7 +966,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
964
966
store. register_late_pass ( || box strings:: StringLitAsBytes ) ;
965
967
store. register_late_pass ( || box derive:: Derive ) ;
966
968
store. register_late_pass ( || box types:: CharLitAsU8 ) ;
967
- store. register_late_pass ( || box drop_bounds:: DropBounds ) ;
968
969
store. register_late_pass ( || box get_last_with_len:: GetLastWithLen ) ;
969
970
store. register_late_pass ( || box drop_forget_ref:: DropForgetRef ) ;
970
971
store. register_late_pass ( || box empty_enum:: EmptyEnum ) ;
@@ -1294,7 +1295,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1294
1295
LintId :: of( & doc:: NEEDLESS_DOCTEST_MAIN ) ,
1295
1296
LintId :: of( & double_comparison:: DOUBLE_COMPARISONS ) ,
1296
1297
LintId :: of( & double_parens:: DOUBLE_PARENS ) ,
1297
- LintId :: of( & drop_bounds:: DROP_BOUNDS ) ,
1298
1298
LintId :: of( & drop_forget_ref:: DROP_COPY ) ,
1299
1299
LintId :: of( & drop_forget_ref:: DROP_REF ) ,
1300
1300
LintId :: of( & drop_forget_ref:: FORGET_COPY ) ,
@@ -1728,7 +1728,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1728
1728
LintId :: of( & copies:: IF_SAME_THEN_ELSE ) ,
1729
1729
LintId :: of( & derive:: DERIVE_HASH_XOR_EQ ) ,
1730
1730
LintId :: of( & derive:: DERIVE_ORD_XOR_PARTIAL_ORD ) ,
1731
- LintId :: of( & drop_bounds:: DROP_BOUNDS ) ,
1732
1731
LintId :: of( & drop_forget_ref:: DROP_COPY ) ,
1733
1732
LintId :: of( & drop_forget_ref:: DROP_REF ) ,
1734
1733
LintId :: of( & drop_forget_ref:: FORGET_COPY ) ,
0 commit comments