2025-07-14 04:28:20 +08:00
|
|
|
error: expected `;` or `]`, found `*`
|
2019-01-06 18:33:05 +03:00
|
|
|
--> $DIR/removed-syntax-fixed-vec.rs:1:17
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | type v = [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 - type v = [isize * 3];
|
|
|
|
|
LL + type v = [isize ; 3];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
warning: type `v` should have an upper camel case name
|
|
|
|
|
--> $DIR/removed-syntax-fixed-vec.rs:1:6
|
|
|
|
|
|
|
|
|
|
|
LL | type v = [isize * 3];
|
|
|
|
|
| ^ help: convert the identifier to upper camel case (notice the capitalization): `V`
|
|
|
|
|
|
|
|
|
|
|
= note: `#[warn(non_camel_case_types)]` on by default
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2025-07-14 04:28:20 +08:00
|
|
|
error: aborting due to 1 previous error; 1 warning emitted
|
2018-10-20 23:36:17 +03:00
|
|
|
|