]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/recover-field-semi.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / parser / recover-field-semi.stderr
1 error: struct fields are separated by `,`
2 --> $DIR/recover-field-semi.rs:2:13
3 |
4 LL | foo: i32;
5 | ^ help: replace `;` with `,`
6
7 error: union fields are separated by `,`
8 --> $DIR/recover-field-semi.rs:7:13
9 |
10 LL | foo: i32;
11 | ^ help: replace `;` with `,`
12
13 error: struct fields are separated by `,`
14 --> $DIR/recover-field-semi.rs:12:19
15 |
16 LL | Qux { foo: i32; }
17 | ^ help: replace `;` with `,`
18
19 error: unions cannot have zero fields
20 --> $DIR/recover-field-semi.rs:6:1
21 |
22 LL | / union Bar {
23 LL | | foo: i32;
24 LL | |
25 LL | | }
26 | |_^
27
28 error: aborting due to 4 previous errors
29