1 2 3 4 5 6 7
//@ check-pass #![warn(clippy::unused_enumerate_index)] fn main() { for () in [()].iter() {} }