rust/tests/ui/parser/removed-syntax-with-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
631 B
Plaintext
Raw Normal View History

error: expected one of `,`, `:`, or `}`, found `a`
--> $DIR/removed-syntax-with-2.rs:8:31
2018-10-20 15:36:17 -05:00
|
LL | let b = S { foo: (), with a };
| - ---- ^ expected one of `,`, `:`, or `}`
| | |
| | while parsing this struct field
| while parsing this struct
2018-10-20 15:36:17 -05:00
error[E0063]: missing field `bar` in initializer of `S`
2019-01-20 17:16:36 -06:00
--> $DIR/removed-syntax-with-2.rs:8:13
|
LL | let b = S { foo: (), with a };
2019-01-20 17:16:36 -06:00
| ^ missing `bar`
2019-01-20 17:16:36 -06:00
error: aborting due to 2 previous errors
2018-10-20 15:36:17 -05:00
2019-01-20 17:16:36 -06:00
For more information about this error, try `rustc --explain E0063`.