Files
rust/tests/ui/parser/removed-syntax/removed-syntax-fixed-vec.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
692 B
Plaintext
Raw Normal View History

error: expected `;` or `]`, found `*`
--> $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];
| ^ 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
error: aborting due to 1 previous error; 1 warning emitted
2018-10-20 23:36:17 +03:00