2020-01-03 08:40:15 -05:00
|
|
|
error: this file contains an unclosed delimiter
|
2019-08-01 17:31:12 -04:00
|
|
|
--> $DIR/issue-63135.rs:3:16
|
|
|
|
|
|
|
|
|
LL | fn i(n{...,f #
|
|
|
|
| - - ^
|
|
|
|
| | |
|
2020-01-03 08:40:15 -05:00
|
|
|
| | unclosed delimiter
|
|
|
|
| unclosed delimiter
|
2019-08-01 17:31:12 -04:00
|
|
|
|
2020-01-08 20:02:10 +03:00
|
|
|
error: this file contains an unclosed delimiter
|
|
|
|
--> $DIR/issue-63135.rs:3:16
|
|
|
|
|
|
|
|
|
LL | fn i(n{...,f #
|
|
|
|
| - - ^
|
|
|
|
| | |
|
|
|
|
| | unclosed delimiter
|
|
|
|
| unclosed delimiter
|
|
|
|
|
2019-08-01 17:31:12 -04:00
|
|
|
error: expected field pattern, found `...`
|
|
|
|
--> $DIR/issue-63135.rs:3:8
|
|
|
|
|
|
|
|
|
LL | fn i(n{...,f #
|
2023-01-15 21:31:04 +00:00
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
help: to omit remaining fields, use `..`
|
|
|
|
|
|
|
|
|
LL | fn i(n{..,f #
|
|
|
|
| ~~
|
2019-08-01 17:31:12 -04:00
|
|
|
|
|
|
|
error: expected `}`, found `,`
|
|
|
|
--> $DIR/issue-63135.rs:3:11
|
|
|
|
|
|
|
|
|
LL | fn i(n{...,f #
|
|
|
|
| ---^
|
|
|
|
| | |
|
|
|
|
| | expected `}`
|
|
|
|
| `..` must be at the end and cannot have a trailing comma
|
|
|
|
|
2020-03-05 11:42:56 +01:00
|
|
|
error: expected one of `!` or `[`, found `}`
|
2019-11-03 14:58:01 +03:00
|
|
|
--> $DIR/issue-63135.rs:3:16
|
2019-08-01 17:31:12 -04:00
|
|
|
|
|
|
|
|
LL | fn i(n{...,f #
|
2020-10-02 00:44:16 -07:00
|
|
|
| - ^ expected one of `!` or `[`
|
|
|
|
| |
|
|
|
|
| while parsing the fields for this pattern
|
2019-08-01 17:31:12 -04:00
|
|
|
|
2020-03-05 11:42:56 +01:00
|
|
|
error: aborting due to 5 previous errors
|
2019-08-01 17:31:12 -04:00
|
|
|
|