2 // Tests from for_loop.rs that don't have suggestions
4 #[warn(clippy::single_element_loop)]
11 for item in [item1].iter() {
19 for item in [0..5].iter_mut() {
27 for item in [0..5].into_iter() {
31 // should not lint (issue #10018)
38 // should not lint (issue #10018)
45 // should lint (issue #10018)