mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00

Go over all structured parser suggestions and make them verbose style. When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
17 lines
539 B
Plaintext
17 lines
539 B
Plaintext
error: path separator must be a double colon
|
|
--> $DIR/single-colon-path-not-const-generics.rs:8:18
|
|
|
|
|
LL | pub struct Foo {
|
|
| --- while parsing this struct
|
|
LL | a: Vec<foo::bar:A>,
|
|
| ^
|
|
|
|
|
= note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 <https://github.com/rust-lang/rust/issues/101728>
|
|
help: use a double colon instead
|
|
|
|
|
LL | a: Vec<foo::bar::A>,
|
|
| ~~
|
|
|
|
error: aborting due to 1 previous error
|
|
|