@@ -505,6 +505,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
505
505
"clippy::panic_params" ,
506
506
"this lint has been uplifted to rustc and is now called `panic_fmt`" ,
507
507
) ;
508
+ store. register_removed (
509
+ "clippy::find_map" ,
510
+ "this lint is replaced by `manual_find_map`, a more specific lint" ,
511
+ ) ;
508
512
// end deprecated lints, do not remove this comment, it’s used in `update_lints`
509
513
510
514
// begin register lints, do not remove this comment, it’s used in `update_lints`
@@ -732,7 +736,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
732
736
& methods:: FILTER_MAP ,
733
737
& methods:: FILTER_MAP_NEXT ,
734
738
& methods:: FILTER_NEXT ,
735
- & methods:: FIND_MAP ,
736
739
& methods:: FLAT_MAP_IDENTITY ,
737
740
& methods:: FROM_ITER_INSTEAD_OF_COLLECT ,
738
741
& methods:: GET_UNWRAP ,
@@ -1333,7 +1336,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1333
1336
LintId :: of( & matches:: SINGLE_MATCH_ELSE ) ,
1334
1337
LintId :: of( & methods:: FILTER_MAP ) ,
1335
1338
LintId :: of( & methods:: FILTER_MAP_NEXT ) ,
1336
- LintId :: of( & methods:: FIND_MAP ) ,
1337
1339
LintId :: of( & methods:: INEFFICIENT_TO_STRING ) ,
1338
1340
LintId :: of( & methods:: MAP_FLATTEN ) ,
1339
1341
LintId :: of( & methods:: MAP_UNWRAP_OR ) ,
0 commit comments