fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
555 B17 linesraw
1error: expected one of `,` or `}`, found `a`
2  --> $DIR/removed-syntax-with-2.rs:8:31
3   |
4LL |     let b = S { foo: (), with a };
5   |             -                 ^ expected one of `,` or `}` here
6   |             |
7   |             while parsing this struct
8
9error[E0063]: missing field `bar` in initializer of `main::S`
10  --> $DIR/removed-syntax-with-2.rs:8:13
11   |
12LL |     let b = S { foo: (), with a };
13   |             ^ missing `bar`
14
15error: aborting due to 2 previous errors
16
17For more information about this error, try `rustc --explain E0063`.