summary refs log tree commit diff
path: root/src/test/ui/issues/issue-34334.rs
blob: bf2d091a01e958c67f7091ff99ef29579abc2c0e (plain)
1
2
3
4
5
6
fn main () {
    let sr: Vec<(u32, _, _) = vec![];
    //~^ ERROR expected one of `,` or `>`, found `=`
    let sr2: Vec<(u32, _, _)> = sr.iter().map(|(faction, th_sender, th_receiver)| {}).collect();
    //~^ ERROR a value of type `Vec<(u32, _, _)>` cannot be built
}