mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
258 B
Plaintext
11 lines
258 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 1 previous error
|
|
|