@@ -505,6 +505,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
505505 "clippy::panic_params" ,
506506 "this lint has been uplifted to rustc and is now called `panic_fmt`" ,
507507 ) ;
508+ store. register_removed (
509+ "clippy::find_map" ,
510+ "this lint is replaced by `manual_find_map`, a more specific lint" ,
511+ ) ;
508512 // end deprecated lints, do not remove this comment, it’s used in `update_lints`
509513
510514 // 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:
732736 & methods:: FILTER_MAP ,
733737 & methods:: FILTER_MAP_NEXT ,
734738 & methods:: FILTER_NEXT ,
735- & methods:: FIND_MAP ,
736739 & methods:: FLAT_MAP_IDENTITY ,
737740 & methods:: FROM_ITER_INSTEAD_OF_COLLECT ,
738741 & methods:: GET_UNWRAP ,
@@ -1333,7 +1336,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
13331336 LintId :: of( & matches:: SINGLE_MATCH_ELSE ) ,
13341337 LintId :: of( & methods:: FILTER_MAP ) ,
13351338 LintId :: of( & methods:: FILTER_MAP_NEXT ) ,
1336- LintId :: of( & methods:: FIND_MAP ) ,
13371339 LintId :: of( & methods:: INEFFICIENT_TO_STRING ) ,
13381340 LintId :: of( & methods:: MAP_FLATTEN ) ,
13391341 LintId :: of( & methods:: MAP_UNWRAP_OR ) ,
0 commit comments