2025-07-14 04:28:20 +08:00
|
|
|
error: expected `;` or `]`, found `3`
|
2019-01-06 18:33:05 +03:00
|
|
|
--> $DIR/better-expected.rs:2:19
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | let x: [isize 3];
|
2025-07-14 04:28:20 +08:00
|
|
|
| ^ expected `;` or `]`
|
|
|
|
|
|
|
|
|
|
|
= note: you might have meant to write a slice or array type
|
|
|
|
|
help: you might have meant to use `;` as the separator
|
|
|
|
|
|
|
|
|
|
|
LL | let x: [isize ;3];
|
|
|
|
|
| +
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-10-20 23:36:17 +03:00
|
|
|
|