rust/src/test/ui/parser/issue-63135.stderr

39 lines
907 B
Plaintext
Raw Normal View History

2019-08-01 16:31:12 -05:00
error: this file contains an un-closed delimiter
--> $DIR/issue-63135.rs:3:16
|
LL | fn i(n{...,f #
| - - ^
| | |
| | un-closed delimiter
| un-closed delimiter
error: expected field pattern, found `...`
--> $DIR/issue-63135.rs:3:8
|
LL | fn i(n{...,f #
| ^^^ help: to omit remaining fields, use one fewer `.`: `..`
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
error: expected `[`, found `}`
--> $DIR/issue-63135.rs:3:16
2019-08-01 16:31:12 -05:00
|
LL | fn i(n{...,f #
| ^ expected `[`
2019-08-01 16:31:12 -05:00
error: expected one of `:` or `|`, found `)`
--> $DIR/issue-63135.rs:3:16
2019-08-01 16:31:12 -05:00
|
LL | fn i(n{...,f #
| ^ expected one of `:` or `|`
2019-08-01 16:31:12 -05:00
error: aborting due to 5 previous errors
2019-08-01 16:31:12 -05:00