| `..` must be at the end and cannot have a trailing comma
error: expected `[`, found `}`
- --> $DIR/issue-63135.rs:3:15
- |
-LL | fn i(n{...,f #
- | ^ expected `[`
-
-error: expected `:`, found `)`
- --> $DIR/issue-63135.rs:3:15
+ --> $DIR/issue-63135.rs:3:16
|
LL | fn i(n{...,f #
- | ^ expected `:`
+ | ^ expected `[`
-error: expected one of `->`, `where`, or `{`, found `<eof>`
- --> $DIR/issue-63135.rs:3:15
+error: expected one of `:` or `|`, found `)`
+ --> $DIR/issue-63135.rs:3:16
|
LL | fn i(n{...,f #
- | ^ expected one of `->`, `where`, or `{` here
+ | ^ expected one of `:` or `|`
-error: aborting due to 6 previous errors
+error: aborting due to 5 previous errors