]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/recover-enum2.stderr
Auto merge of #101030 - woppopo:const_location, r=scottmcm
[rust.git] / src / test / ui / parser / recover-enum2.stderr
1 error: expected type, found `{`
2   --> $DIR/recover-enum2.rs:6:18
3    |
4 LL |         Var3 {
5    |         ---- while parsing this struct
6 LL |             abc: {},
7    |                  ^ expected type
8
9 error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `{`
10   --> $DIR/recover-enum2.rs:25:22
11    |
12 LL |             Nope(i32 {})
13    |                      ^ expected one of 7 possible tokens
14
15 error: aborting due to 2 previous errors
16