2018-10-20 15:36:17 -05:00
|
|
|
error: expected one of `,`, `.`, `?`, `}`, or an operator, found `with`
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/removed-syntax-with-1.rs:8:25
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
2019-01-21 17:28:51 -06:00
|
|
|
LL | let b = S { foo: () with a, bar: () };
|
2019-01-20 02:37:06 -06:00
|
|
|
| - ^^^^ expected one of `,`, `.`, `?`, `}`, or an operator here
|
|
|
|
| |
|
|
|
|
| while parsing this struct
|
2018-10-20 15:36:17 -05:00
|
|
|
|
2019-01-21 17:28:51 -06:00
|
|
|
error: aborting due to previous error
|
2018-10-20 15:36:17 -05:00
|
|
|
|