fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
556 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 `}`
6   |             |
7   |             while parsing this struct
8
9error[E0063]: missing field `bar` in initializer of `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`.