]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/better-expected.stderr
Rollup merge of #57337 - alexcrichton:prioritize-another, r=fitzgen
[rust.git] / src / test / ui / parser / better-expected.stderr
1 error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3`
2   --> $DIR/better-expected.rs:2:19
3    |
4 LL |     let x: [isize 3]; //~ ERROR expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3`
5    |         -         ^ expected one of 7 possible tokens here
6    |         |
7    |         while parsing the type for `x`
8
9 error: aborting due to previous error
10