fork/rust

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

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

master
445 B16 linesraw
1error: expected type, found `{`
2  --> $DIR/recover-enum2.rs:6:18
3   |
4LL |         Var3 {
5   |         ---- while parsing this struct
6LL |             abc: {},
7   |                  ^ expected type
8
9error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `{`
10  --> $DIR/recover-enum2.rs:25:22
11   |
12LL |             Nope(i32 {})
13   |                      ^ expected one of 7 possible tokens
14
15error: aborting due to 2 previous errors
16