2016-06-17 18:49:44 -05:00
|
|
|
fn main () {
|
2019-03-26 19:36:07 -05:00
|
|
|
let sr: Vec<(u32, _, _) = vec![];
|
2020-12-15 14:03:25 -06:00
|
|
|
//~^ ERROR expected one of
|
|
|
|
|
2016-06-17 18:49:44 -05:00
|
|
|
let sr2: Vec<(u32, _, _)> = sr.iter().map(|(faction, th_sender, th_receiver)| {}).collect();
|
2020-09-02 02:40:56 -05:00
|
|
|
//~^ ERROR a value of type `Vec<(u32, _, _)>` cannot be built
|
2020-12-15 14:03:25 -06:00
|
|
|
|
2016-06-17 18:49:44 -05:00
|
|
|
}
|