@@ -430,6 +430,10 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
430430 "clippy::unused_collect" ,
431431 "`collect` has been marked as #[must_use] in rustc and that covers all cases of this lint" ,
432432 ) ;
433+ store. register_removed (
434+ "clippy::into_iter_on_array" ,
435+ "this lint has been uplifted to rustc and is now called `array_into_iter`" ,
436+ ) ;
433437 // end deprecated lints, do not remove this comment, it’s used in `update_lints`
434438
435439 // begin register lints, do not remove this comment, it’s used in `update_lints`
@@ -584,7 +588,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
584588 & methods:: FLAT_MAP_IDENTITY ,
585589 & methods:: GET_UNWRAP ,
586590 & methods:: INEFFICIENT_TO_STRING ,
587- & methods:: INTO_ITER_ON_ARRAY ,
588591 & methods:: INTO_ITER_ON_REF ,
589592 & methods:: ITER_CLONED_COLLECT ,
590593 & methods:: ITER_NTH ,
@@ -1142,7 +1145,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
11421145 LintId :: of( & methods:: FILTER_NEXT ) ,
11431146 LintId :: of( & methods:: FLAT_MAP_IDENTITY ) ,
11441147 LintId :: of( & methods:: INEFFICIENT_TO_STRING ) ,
1145- LintId :: of( & methods:: INTO_ITER_ON_ARRAY ) ,
11461148 LintId :: of( & methods:: INTO_ITER_ON_REF ) ,
11471149 LintId :: of( & methods:: ITER_CLONED_COLLECT ) ,
11481150 LintId :: of( & methods:: ITER_NTH ) ,
@@ -1481,7 +1483,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
14811483 LintId :: of( & mem_discriminant:: MEM_DISCRIMINANT_NON_ENUM ) ,
14821484 LintId :: of( & mem_replace:: MEM_REPLACE_WITH_UNINIT ) ,
14831485 LintId :: of( & methods:: CLONE_DOUBLE_REF ) ,
1484- LintId :: of( & methods:: INTO_ITER_ON_ARRAY ) ,
14851486 LintId :: of( & methods:: TEMPORARY_CSTRING_AS_PTR ) ,
14861487 LintId :: of( & methods:: UNINIT_ASSUMED_INIT ) ,
14871488 LintId :: of( & minmax:: MIN_MAX ) ,
0 commit comments