mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
9 lines
249 B
Rust
9 lines
249 B
Rust
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
|
|
|
|
}
|