]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/bad-name.stderr
Remove "here" from "expected one of X here"
[rust.git] / src / test / ui / parser / bad-name.stderr
index 15e61cf06cae94aca70de5d4877c1ff148bc75a4..a36b67794fa840a10a330e6fbd19f287ac00d3f7 100644 (file)
@@ -1,8 +1,8 @@
-error: expected one of `:`, `;`, `=`, or `@`, found `.`
+error: expected one of `:`, `;`, `=`, `@`, or `|`, found `.`
   --> $DIR/bad-name.rs:4:8
    |
 LL |   let x.y::<isize>.z foo;
-   |        ^ expected one of `:`, `;`, `=`, or `@` here
+   |        ^ expected one of `:`, `;`, `=`, `@`, or `|`
 
 error: aborting due to previous error