]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/recover-enum.stderr
Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco
[rust.git] / tests / ui / parser / recover-enum.stderr
1 error: expected one of `(`, `,`, `=`, `{`, or `}`, found `Bad`
2   --> $DIR/recover-enum.rs:4:9
3    |
4 LL |         Very
5    |             -
6    |             |
7    |             expected one of `(`, `,`, `=`, `{`, or `}`
8    |             help: missing `,`
9 LL |         Bad(usize)
10    |         ^^^ unexpected token
11
12 error: expected one of `,`, `=`, or `}`, found `Stuff`
13   --> $DIR/recover-enum.rs:6:9
14    |
15 LL |         Bad(usize)
16    |                   -
17    |                   |
18    |                   expected one of `,`, `=`, or `}`
19    |                   help: missing `,`
20 LL |
21 LL |         Stuff { a: usize }
22    |         ^^^^^ unexpected token
23
24 error: expected one of `,`, `=`, or `}`, found `Here`
25   --> $DIR/recover-enum.rs:8:9
26    |
27 LL |         Stuff { a: usize }
28    |                           -
29    |                           |
30    |                           expected one of `,`, `=`, or `}`
31    |                           help: missing `,`
32 LL |
33 LL |         Here
34    |         ^^^^ unexpected token
35
36 error: aborting due to 3 previous errors
37