summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-66357-unexpected-unreachable.stderr
blob: 6cbab855c7636ad9e91692c12d9cc5ec424898de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: expected one of `,` or `:`, found `(`
  --> $DIR/issue-66357-unexpected-unreachable.rs:12:13
   |
LL | fn f() { |[](* }
   |             ^ expected one of `,` or `:`

error: expected one of `&`, `(`, `)`, `-`, `...`, `..=`, `..`, `[`, `_`, `box`, `mut`, `ref`, `|`, identifier, or path, found `*`
  --> $DIR/issue-66357-unexpected-unreachable.rs:12:13
   |
LL | fn f() { |[](* }
   |             ^^ help: `)` may belong here
   |             |
   |             unclosed delimiter

error: aborting due to 2 previous errors