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