]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/recover-enum.stderr
Auto merge of #61361 - estebank:infer-type, r=varkor
[rust.git] / src / test / ui / parser / recover-enum.stderr
index 8c3448d6fbe413419f60ac26280f3fedeceb0569..81c7ae337dbebe0c12e91256032adaaa52691634 100644 (file)
@@ -1,10 +1,20 @@
-error: expected one of `(`, `,`, `=`, `{`, or `}`, found `Bad`
-  --> $DIR/recover-enum.rs:6:9
+error: missing comma
+  --> $DIR/recover-enum.rs:3:13
    |
 LL |         Very
-   |             - expected one of `(`, `,`, `=`, `{`, or `}` here
-LL |         Bad
-   |         ^^^ unexpected token
+   |             ^ help: missing comma
 
-error: aborting due to previous error
+error: missing comma
+  --> $DIR/recover-enum.rs:5:19
+   |
+LL |         Bad(usize)
+   |                   ^ help: missing comma
+
+error: missing comma
+  --> $DIR/recover-enum.rs:7:27
+   |
+LL |         Stuff { a: usize }
+   |                           ^ help: missing comma
+
+error: aborting due to 3 previous errors