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