1 error: expected `,`, found `&`
2 --> $DIR/issue-66706.rs:2:16
4 LL | [0; [|_: _ &_| ()].len()]
9 error: expected identifier, found reserved identifier `_`
10 --> $DIR/issue-66706.rs:8:20
12 LL | [0; [|f @ &ref _| {} ; 0 ].len() ];
13 | ^ expected identifier, found reserved identifier
15 error: expected `,`, found `&`
16 --> $DIR/issue-66706.rs:13:17
18 LL | [0; [|&_: _ &_| {}; 0 ].len()]
23 error: expected identifier, found reserved identifier `_`
24 --> $DIR/issue-66706.rs:18:26
26 LL | [0; match [|f @ &ref _| () ] {} ]
27 | ^ expected identifier, found reserved identifier
29 error[E0282]: type annotations needed
30 --> $DIR/issue-66706.rs:2:11
32 LL | [0; [|_: _ &_| ()].len()]
35 error: aborting due to 5 previous errors
37 For more information about this error, try `rustc --explain E0282`.