]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/parser/recover-enum.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / parser / recover-enum.rs
index 331bfff84f106a778f7f68cf6bfc5aa2d345b6c0..08dd939e2c023f7f3290a796d02f4bc9e005b1cb 100644 (file)
@@ -1,11 +1,11 @@
 fn main() {
     enum Test {
-        Very
-        //~^ ERROR missing comma
-        Bad(usize)
-        //~^ ERROR missing comma
-        Stuff { a: usize }
-        //~^ ERROR missing comma
+        Very //~ HELP missing `,`
+        Bad(usize) //~ HELP missing `,`
+        //~^ ERROR expected one of `(`, `,`, `=`, `{`, or `}`, found `Bad`
+        Stuff { a: usize } //~ HELP missing `,`
+        //~^ ERROR expected one of `,`, `=`, or `}`, found `Stuff`
         Here
+        //~^ ERROR expected one of `,`, `=`, or `}`, found `Here`
     }
 }