]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/issue-63135.stderr
Remove "here" from "expected one of X here"
[rust.git] / src / test / ui / parser / issue-63135.stderr
index c0286d90af74473a8a4ed370a7825e5f454cf2a9..152601b35380595bbd197596ecae684c6c476972 100644 (file)
@@ -23,22 +23,16 @@ LL | fn i(n{...,f #
    |        `..` must be at the end and cannot have a trailing comma
 
 error: expected `[`, found `}`
-  --> $DIR/issue-63135.rs:3:15
-   |
-LL | fn i(n{...,f #
-   |               ^ expected `[`
-
-error: expected `:`, found `)`
-  --> $DIR/issue-63135.rs:3:15
+  --> $DIR/issue-63135.rs:3:16
    |
 LL | fn i(n{...,f #
-   |               ^ expected `:`
+   |                ^ expected `[`
 
-error: expected one of `->`, `where`, or `{`, found `<eof>`
-  --> $DIR/issue-63135.rs:3:15
+error: expected one of `:` or `|`, found `)`
+  --> $DIR/issue-63135.rs:3:16
    |
 LL | fn i(n{...,f #
-   |               ^ expected one of `->`, `where`, or `{` here
+   |                ^ expected one of `:` or `|`
 
-error: aborting due to 6 previous errors
+error: aborting due to 5 previous errors