2 [0; [|_: _ &_| ()].len()]
3 //~^ ERROR expected `,`, found `&`
4 //~| ERROR type annotations needed
5 //~| ERROR mismatched types
9 [0; [|f @ &ref _| {} ; 0 ].len() ];
10 //~^ ERROR expected identifier, found reserved identifier `_`
14 [0; [|&_: _ &_| {}; 0 ].len()]
15 //~^ ERROR expected `,`, found `&`
16 //~| ERROR mismatched types
20 [0; match [|f @ &ref _| () ] {} ]
21 //~^ ERROR expected identifier, found reserved identifier `_`
22 //~| ERROR mismatched types