fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
818 B35 linesraw
1error: struct fields are separated by `,`
2  --> $DIR/recover-field-semi.rs:2:13
3   |
4LL | struct Foo {
5   |        --- while parsing this struct
6LL |     foo: i32;
7   |             ^ help: replace `;` with `,`
8
9error: union fields are separated by `,`
10  --> $DIR/recover-field-semi.rs:7:13
11   |
12LL | union Bar {
13   |       --- while parsing this union
14LL |     foo: i32;
15   |             ^ help: replace `;` with `,`
16
17error: struct fields are separated by `,`
18  --> $DIR/recover-field-semi.rs:12:19
19   |
20LL |     Qux { foo: i32; }
21   |     ---           ^ help: replace `;` with `,`
22   |     |
23   |     while parsing this struct
24
25error: unions cannot have zero fields
26  --> $DIR/recover-field-semi.rs:6:1
27   |
28LL | / union Bar {
29LL | |     foo: i32;
30LL | |
31LL | | }
32   | |_^
33
34error: aborting due to 4 previous errors
35