mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
11 lines
256 B
Plaintext
11 lines
256 B
Plaintext
error: struct fields are separated by `,`
|
|
--> $DIR/removed-syntax-field-semicolon.rs:2:12
|
|
|
|
|
LL | struct S {
|
|
| - while parsing this struct
|
|
LL | bar: ();
|
|
| ^ help: replace `;` with `,`
|
|
|
|
error: aborting due to previous error
|
|
|