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