fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
530 B16 linesraw
1error: expected one of `,` or `:`, found `(`
2  --> $DIR/issue-66357-unexpected-unreachable.rs:14: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:14:14
9   |
10LL | fn f() { |[](* }
11   |             -^ help: `)` may belong here
12   |             |
13   |             unclosed delimiter
14
15error: aborting due to 2 previous errors
16