fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
979 B41 linesraw
1error: this file contains an unclosed delimiter
2  --> $DIR/issue-63135.rs:3:16
3   |
4LL | fn i(n{...,f #
5   |     - -        ^
6   |     | |
7   |     | unclosed delimiter
8   |     unclosed delimiter
9
10error: this file contains an unclosed delimiter
11  --> $DIR/issue-63135.rs:3:16
12   |
13LL | fn i(n{...,f #
14   |     - -        ^
15   |     | |
16   |     | unclosed delimiter
17   |     unclosed delimiter
18
19error: expected field pattern, found `...`
20  --> $DIR/issue-63135.rs:3:8
21   |
22LL | fn i(n{...,f #
23   |        ^^^ help: to omit remaining fields, use one fewer `.`: `..`
24
25error: expected `}`, found `,`
26  --> $DIR/issue-63135.rs:3:11
27   |
28LL | fn i(n{...,f #
29   |        ---^
30   |        |  |
31   |        |  expected `}`
32   |        `..` must be at the end and cannot have a trailing comma
33
34error: expected one of `!` or `[`, found `}`
35  --> $DIR/issue-63135.rs:3:16
36   |
37LL | fn i(n{...,f #
38   |                ^ expected one of `!` or `[`
39
40error: aborting due to 5 previous errors
41