2019-11-13 12:05:37 +01:00
|
|
|
error: expected one of `,` or `:`, found `(`
|
2019-12-11 10:04:34 +01:00
|
|
|
--> $DIR/issue-66357-unexpected-unreachable.rs:14:13
|
2019-11-13 12:05:37 +01:00
|
|
|
|
|
|
|
|
LL | fn f() { |[](* }
|
|
|
|
| ^ expected one of `,` or `:`
|
|
|
|
|
2019-12-11 10:04:34 +01:00
|
|
|
error: expected one of `&`, `(`, `)`, `-`, `...`, `..=`, `..`, `[`, `_`, `box`, `mut`, `ref`, `|`, identifier, or path, found `*`
|
|
|
|
--> $DIR/issue-66357-unexpected-unreachable.rs:14:14
|
2019-11-13 12:05:37 +01:00
|
|
|
|
|
|
|
|
LL | fn f() { |[](* }
|
|
|
|
| -^ help: `)` may belong here
|
|
|
|
| |
|
|
|
|
| unclosed delimiter
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|