]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-34334.rs
Rollup merge of #92942 - Xaeroxe:raw_arg, r=dtolnay
[rust.git] / src / test / ui / issues / issue-34334.rs
1 fn main () {
2     let sr: Vec<(u32, _, _) = vec![];
3     //~^ ERROR expected one of
4
5     let sr2: Vec<(u32, _, _)> = sr.iter().map(|(faction, th_sender, th_receiver)| {}).collect();
6     //~^ ERROR a value of type `Vec<(u32, _, _)>` cannot be built
7
8 }