fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
422 B11 linesraw
1error: expected one of `,`, `.`, `?`, `}`, or an operator, found `with`
2  --> $DIR/removed-syntax-with-1.rs:8:25
3   |
4LL |     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
10error: aborting due to previous error
11