]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/recover-enum.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / ui / parser / recover-enum.rs
1 fn main() {
2     enum Test {
3         Very //~ HELP missing `,`
4         Bad(usize) //~ HELP missing `,`
5         //~^ ERROR expected one of `(`, `,`, `=`, `{`, or `}`, found `Bad`
6         Stuff { a: usize } //~ HELP missing `,`
7         //~^ ERROR expected one of `,`, `=`, or `}`, found `Stuff`
8         Here
9         //~^ ERROR expected one of `,`, `=`, or `}`, found `Here`
10     }
11 }