]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/removed-syntax-with-1.stderr
Rollup merge of #107331 - GuillaumeGomez:cleanup-js, r=notriddle
[rust.git] / tests / ui / parser / removed-syntax-with-1.stderr
1 error: expected one of `,`, `.`, `?`, `}`, or an operator, found `with`
2   --> $DIR/removed-syntax-with-1.rs:8:25
3    |
4 LL |     let b = S { foo: () with a, bar: () };
5    |             -          -^^^^ expected one of `,`, `.`, `?`, `}`, or an operator
6    |             |          |
7    |             |          help: try adding a comma: `,`
8    |             while parsing this struct
9
10 error: aborting due to previous error
11