summary refs log tree commit diff
path: root/src/test/ui/parser/recover-enum2.stderr
blob: 315bfde77c73c6d80e39646f2baaae4fe3af55a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected type, found `{`
  --> $DIR/recover-enum2.rs:8:18
   |
LL |             abc: {}, //~ ERROR: expected type, found `{`
   |                  ^

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

error: aborting due to 2 previous errors