fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: expected `}`, found `,` 2 --> $DIR/issue-112188.rs:10:17 3 | 4LL | let Foo { .., } = f; 5 | --^ 6 | | | 7 | | expected `}` 8 | | help: remove this comma 9 | `..` must be at the end and cannot have a trailing comma 10 11error: expected `}`, found `,` 12 --> $DIR/issue-112188.rs:12:17 13 | 14LL | let Foo { .., x } = f; 15 | --^ 16 | | | 17 | | expected `}` 18 | `..` must be at the end and cannot have a trailing comma 19 | 20help: move the `..` to the end of the field list 21 | 22LL - let Foo { .., x } = f; 23LL + let Foo { x, .. } = f; 24 | 25 26error: expected `}`, found `,` 27 --> $DIR/issue-112188.rs:13:17 28 | 29LL | let Foo { .., x, .. } = f; 30 | --^- 31 | | | 32 | | expected `}` 33 | `..` must be at the end and cannot have a trailing comma 34 | help: remove the starting `..` 35 36error: aborting due to 3 previous errors 37