2018-10-20 15:36:17 -05:00
|
|
|
error: expected one of `,` or `}`, found `a`
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/removed-syntax-with-2.rs:8:31
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
|
LL | let b = S { foo: (), with a };
|
2019-10-28 13:08:53 -05:00
|
|
|
| - ^ expected one of `,` or `}`
|
2019-01-20 02:37:06 -06:00
|
|
|
| |
|
|
|
|
| while parsing this struct
|
2018-10-20 15:36:17 -05:00
|
|
|
|
2019-01-20 17:16:36 -06:00
|
|
|
error[E0063]: missing field `bar` in initializer of `main::S`
|
|
|
|
--> $DIR/removed-syntax-with-2.rs:8:13
|
2019-01-06 09:33:05 -06:00
|
|
|
|
|
|
|
|
LL | let b = S { foo: (), with a };
|
2019-01-20 17:16:36 -06:00
|
|
|
| ^ missing `bar`
|
2019-01-06 09:33:05 -06:00
|
|
|
|
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`.
|