2022-07-07 16:59:54 -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 };
|
2023-10-03 16:21:02 -05:00
|
|
|
| - ---- ^ expected one of `,`, `:`, or `}`
|
|
|
|
| | |
|
|
|
|
| | while parsing this struct field
|
2019-01-20 02:37:06 -06:00
|
|
|
| while parsing this struct
|
2018-10-20 15:36:17 -05:00
|
|
|
|
2020-09-02 02:40:56 -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
|
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`.
|