]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-63135.stderr
Update const_forget.rs
[rust.git] / src / test / ui / parser / issue-63135.stderr
1 error: this file contains an unclosed delimiter
2   --> $DIR/issue-63135.rs:3:16
3    |
4 LL | fn i(n{...,f #
5    |     - -        ^
6    |     | |
7    |     | unclosed delimiter
8    |     unclosed delimiter
9
10 error: this file contains an unclosed delimiter
11   --> $DIR/issue-63135.rs:3:16
12    |
13 LL | fn i(n{...,f #
14    |     - -        ^
15    |     | |
16    |     | unclosed delimiter
17    |     unclosed delimiter
18
19 error: expected field pattern, found `...`
20   --> $DIR/issue-63135.rs:3:8
21    |
22 LL | fn i(n{...,f #
23    |        ^^^ help: to omit remaining fields, use one fewer `.`: `..`
24
25 error: expected `}`, found `,`
26   --> $DIR/issue-63135.rs:3:11
27    |
28 LL | fn i(n{...,f #
29    |        ---^
30    |        |  |
31    |        |  expected `}`
32    |        `..` must be at the end and cannot have a trailing comma
33
34 error: expected `[`, found `}`
35   --> $DIR/issue-63135.rs:3:16
36    |
37 LL | fn i(n{...,f #
38    |                ^ expected `[`
39
40 error: expected one of `:` or `|`, found `)`
41   --> $DIR/issue-63135.rs:3:16
42    |
43 LL | fn i(n{...,f #
44    |                ^ expected one of `:` or `|`
45
46 error: expected `;` or `{`, found `<eof>`
47   --> $DIR/issue-63135.rs:3:16
48    |
49 LL | fn i(n{...,f #
50    |                ^ expected `;` or `{`
51
52 error: aborting due to 7 previous errors
53