]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-63135.stderr
Auto merge of #62855 - Aaron1011:feature/rustdoc-reexport-final, r=petrochenkov
[rust.git] / src / test / ui / parser / issue-63135.stderr
1 error: this file contains an un-closed delimiter
2   --> $DIR/issue-63135.rs:3:16
3    |
4 LL | fn i(n{...,f #
5    |     - -        ^
6    |     | |
7    |     | un-closed delimiter
8    |     un-closed delimiter
9
10 error: expected field pattern, found `...`
11   --> $DIR/issue-63135.rs:3:8
12    |
13 LL | fn i(n{...,f #
14    |        ^^^ help: to omit remaining fields, use one fewer `.`: `..`
15
16 error: expected `}`, found `,`
17   --> $DIR/issue-63135.rs:3:11
18    |
19 LL | fn i(n{...,f #
20    |        ---^
21    |        |  |
22    |        |  expected `}`
23    |        `..` must be at the end and cannot have a trailing comma
24
25 error: expected `[`, found `}`
26   --> $DIR/issue-63135.rs:3:15
27    |
28 LL | fn i(n{...,f #
29    |               ^ expected `[`
30
31 error: expected one of `:` or `|`, found `)`
32   --> $DIR/issue-63135.rs:3:15
33    |
34 LL | fn i(n{...,f #
35    |               ^ expected one of `:` or `|` here
36
37 error: aborting due to 5 previous errors
38