]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/recover-field-semi.stderr
Update unsuspicious file list
[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 | struct Foo {
5 | --- while parsing this struct
6 LL | foo: i32;
7 | ^ help: replace `;` with `,`
8
9 error: union fields are separated by `,`
10 --> $DIR/recover-field-semi.rs:7:13
11 |
12 LL | union Bar {
13 | --- while parsing this union
14 LL | foo: i32;
15 | ^ help: replace `;` with `,`
16
17 error: struct fields are separated by `,`
18 --> $DIR/recover-field-semi.rs:12:19
19 |
20 LL | Qux { foo: i32; }
21 | --- ^ help: replace `;` with `,`
22 | |
23 | while parsing this struct
24
25 error: unions cannot have zero fields
26 --> $DIR/recover-field-semi.rs:6:1
27 |
28 LL | / union Bar {
29 LL | | foo: i32;
30 LL | |
31 LL | | }
32 | |_^
33
34 error: aborting due to 4 previous errors
35