summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/recover-enum.stderr
blob: a2b650e4f4eb7ca23d98d19a226fb8a8b90fd8ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
error: expected one of `(`, `,`, `=`, `{`, or `}`, found `Bad`
  --> $DIR/recover-enum.rs:4:9
   |
LL |         Very
   |             -
   |             |
   |             expected one of `(`, `,`, `=`, `{`, or `}`
   |             help: missing `,`
LL |         Bad(usize)
   |         ^^^ unexpected token

error: expected one of `,`, `=`, or `}`, found `Stuff`
  --> $DIR/recover-enum.rs:6:9
   |
LL |         Bad(usize)
   |                   -
   |                   |
   |                   expected one of `,`, `=`, or `}`
   |                   help: missing `,`
LL |
LL |         Stuff { a: usize }
   |         ^^^^^ unexpected token

error: expected one of `,`, `=`, or `}`, found `Here`
  --> $DIR/recover-enum.rs:8:9
   |
LL |         Stuff { a: usize }
   |                           -
   |                           |
   |                           expected one of `,`, `=`, or `}`
   |                           help: missing `,`
LL |
LL |         Here
   |         ^^^^ unexpected token

error: aborting due to 3 previous errors