2018-10-20 23:36:17 +03:00
|
|
|
error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/better-expected.rs:4:19
|
2018-10-20 23:36:17 +03: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
|
|
|
|
|