]> git.proxmox.com Git - rustc.git/blob - tests/ui/parser/issues/issue-66357-unexpected-unreachable.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / parser / issues / issue-66357-unexpected-unreachable.stderr
1 error: expected one of `,` or `:`, found `(`
2 --> $DIR/issue-66357-unexpected-unreachable.rs:12:13
3 |
4 LL | fn f() { |[](* }
5 | ^ expected one of `,` or `:`
6
7 error: expected one of `&`, `(`, `)`, `-`, `...`, `..=`, `..`, `[`, `_`, `box`, `mut`, `ref`, `|`, identifier, or path, found `*`
8 --> $DIR/issue-66357-unexpected-unreachable.rs:12:13
9 |
10 LL | fn f() { |[](* }
11 | ^^ help: `)` may belong here
12 | |
13 | unclosed delimiter
14
15 error: aborting due to 2 previous errors
16