fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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