rust/tests/ui/parser/issues/issue-63135.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1.0 KiB
Plaintext
Raw Normal View History

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 #
| - - ^
| | |
| | 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
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 `[`
| |
| while parsing the fields for this pattern
2019-08-01 16:31:12 -05:00
error: aborting due to 5 previous errors
2019-08-01 16:31:12 -05:00