summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-34334.rs
blob: 51486bc40de0ca6cb7d7dde3e54ee366f7bd2ba9 (plain)
1
2
3
4
5
6
7
8
fn main () {
    let sr: Vec<(u32, _, _) = vec![];
    //~^ ERROR expected one of

    let sr2: Vec<(u32, _, _)> = sr.iter().map(|(faction, th_sender, th_receiver)| {}).collect();
    //~^ ERROR a value of type `Vec<(u32, _, _)>` cannot be built

}