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