2020-01-03 07:40:15 -06:00
|
|
|
error: this file contains an unclosed delimiter
|
2019-08-01 16:31:12 -05:00
|
|
|
--> $DIR/issue-63135.rs:3:16
|
|
|
|
|
|
|
|
|
LL | fn i(n{...,f #
|
|
|
|
| - - ^
|
|
|
|
| | |
|
2020-01-03 07:40:15 -06:00
|
|
|
| | unclosed delimiter
|
|
|
|
| unclosed delimiter
|
2019-08-01 16:31:12 -05:00
|
|
|
|
2020-01-08 11:02:10 -06: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 16:31:12 -05:00
|
|
|
error: expected field pattern, found `...`
|
|
|
|
--> $DIR/issue-63135.rs:3:8
|
|
|
|
|
|
|
|
|
LL | fn i(n{...,f #
|
2023-01-15 15:31:04 -06:00
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
help: to omit remaining fields, use `..`
|
|
|
|
|
|
|
|
|
LL | fn i(n{..,f #
|
|
|
|
| ~~
|
2019-08-01 16:31:12 -05: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 04:42:56 -06:00
|
|
|
error: expected one of `!` or `[`, found `}`
|
2019-11-03 05:58:01 -06:00
|
|
|
--> $DIR/issue-63135.rs:3:16
|
2019-08-01 16:31:12 -05:00
|
|
|
|
|
|
|
|
LL | fn i(n{...,f #
|
2020-10-02 02:44:16 -05:00
|
|
|
| - ^ expected one of `!` or `[`
|
|
|
|
| |
|
|
|
|
| while parsing the fields for this pattern
|
2019-08-01 16:31:12 -05:00
|
|
|
|
2020-03-05 04:42:56 -06:00
|
|
|
error: aborting due to 5 previous errors
|
2019-08-01 16:31:12 -05:00
|
|
|
|