1 error[E0271]: type mismatch resolving `<std::collections::hash_map::Iter<'_, _, _> as std::iter::Iterator>::Item == &_`
2 --> $DIR/issue-33941.rs:14:36
4 14 | for _ in HashMap::new().iter().cloned() {}
5 | ^^^^^^ expected tuple, found reference
7 = note: expected type `(&_, &_)`
10 error[E0271]: type mismatch resolving `<std::collections::hash_map::Iter<'_, _, _> as std::iter::Iterator>::Item == &_`
11 --> $DIR/issue-33941.rs:14:5
13 14 | for _ in HashMap::new().iter().cloned() {}
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found reference
16 = note: expected type `(&_, &_)`
18 = note: required because of the requirements on the impl of `std::iter::Iterator` for `std::iter::Cloned<std::collections::hash_map::Iter<'_, _, _>>`
20 error: aborting due to 2 previous errors