]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-66357-unexpected-unreachable.stderr
Rollup merge of #67756 - Zoxc:collector-tweaks, r=Mark-Simulacrum
[rust.git] / src / test / ui / parser / issue-66357-unexpected-unreachable.stderr
1 error: expected one of `,` or `:`, found `(`
2   --> $DIR/issue-66357-unexpected-unreachable.rs:14: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:14:14
9    |
10 LL | fn f() { |[](* }
11    |             -^ help: `)` may belong here
12    |             |
13    |             unclosed delimiter
14
15 error: aborting due to 2 previous errors
16