rust/tests/ui/parser/removed-syntax-field-semicolon.stderr

11 lines
256 B
Plaintext
Raw Normal View History

error: struct fields are separated by `,`
--> $DIR/removed-syntax-field-semicolon.rs:2:12
2018-10-20 15:36:17 -05:00
|
LL | struct S {
| - while parsing this struct
2018-10-20 15:36:17 -05:00
LL | bar: ();
| ^ help: replace `;` with `,`
2018-10-20 15:36:17 -05:00
error: aborting due to previous error