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