summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/recover-enum2.stderr
blob: 7634bca921c86fed116b41ecab2fc8d1341ef913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: expected type, found `{`
  --> $DIR/recover-enum2.rs:6:18
   |
LL |         Var3 {
   |         ---- while parsing this struct
LL |             abc: {},
   |                  ^ expected type

error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `{`
  --> $DIR/recover-enum2.rs:25:22
   |
LL |             Nope(i32 {})
   |                      ^ expected one of 7 possible tokens

error: aborting due to 2 previous errors