2022-09-05 16:09:57 +00:00
|
|
|
error: struct fields are separated by `,`
|
2019-01-06 18:33:05 +03:00
|
|
|
--> $DIR/removed-syntax-field-semicolon.rs:2:12
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2022-09-26 23:13:38 +09:00
|
|
|
LL | struct S {
|
|
|
|
| - while parsing this struct
|
2018-10-20 23:36:17 +03:00
|
|
|
LL | bar: ();
|
2022-09-05 16:09:57 +00:00
|
|
|
| ^ help: replace `;` with `,`
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|