2018-10-20 15:36:17 -05:00
|
|
|
error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3`
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/better-expected.rs:2:19
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
|
LL | let x: [isize 3]; //~ ERROR expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3`
|
|
|
|
| - ^ expected one of 7 possible tokens here
|
|
|
|
| |
|
|
|
|
| while parsing the type for `x`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|