summary refs log tree commit diff
path: root/src/test/ui/issues/issue-33941.rs
blob: ccaa6334856b45f55487e44c1301abdd1d7b83a9 (plain)
1
2
3
4
5
6
use std::collections::HashMap;

fn main() {
    for _ in HashMap::new().iter().cloned() {} //~ ERROR type mismatch
    //~^ ERROR type mismatch
}