fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
495 B16 linesraw
1error: expected one of `,` or `:`, found `(`
2  --> $DIR/issue-66357-unexpected-unreachable.rs:12:13
3   |
4LL | fn f() { |[](* }
5   |             ^ expected one of `,` or `:`
6
7error: expected one of `)`, `-`, `_`, `box`, `mut`, `ref`, `|`, identifier, or path, found `*`
8  --> $DIR/issue-66357-unexpected-unreachable.rs:12:14
9   |
10LL | fn f() { |[](* }
11   |             -^ help: `)` may belong here
12   |             |
13   |             unclosed delimiter
14
15error: aborting due to 2 previous errors
16