]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-66357-unexpected-unreachable.stderr
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.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