]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/better-expected.stderr
Remove "here" from "expected one of X here"
[rust.git] / src / test / ui / parser / better-expected.stderr
index 3495353c6f905875bb4f39eefd7727d33cf947fc..21bf8d19a721e49283387c00d9fd642fa7e702aa 100644 (file)
@@ -1,8 +1,8 @@
 error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3`
   --> $DIR/better-expected.rs:2:19
    |
-LL |     let x: [isize 3]; //~ ERROR expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3`
-   |         -         ^ expected one of 7 possible tokens here
+LL |     let x: [isize 3];
+   |         -         ^ expected one of 7 possible tokens
    |         |
    |         while parsing the type for `x`