692bc344d5
Go over all structured parser suggestions and make them verbose style. When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
33 lines
578 B
Plaintext
33 lines
578 B
Plaintext
error: missing `for` in a trait impl
|
|
--> $DIR/issue-27255.rs:3:7
|
|
|
|
|
LL | impl A .. {}
|
|
| ^
|
|
|
|
|
help: add `for` here
|
|
|
|
|
LL | impl A for .. {}
|
|
| +++
|
|
|
|
error: missing `for` in a trait impl
|
|
--> $DIR/issue-27255.rs:7:7
|
|
|
|
|
LL | impl A usize {}
|
|
| ^^^^^^
|
|
|
|
|
help: add `for` here
|
|
|
|
|
LL | impl A for usize {}
|
|
| +++
|
|
|
|
error: `impl Trait for .. {}` is an obsolete syntax
|
|
--> $DIR/issue-27255.rs:3:1
|
|
|
|
|
LL | impl A .. {}
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= help: use `auto trait Trait {}` instead
|
|
|
|
error: aborting due to 3 previous errors
|
|
|