mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 06:00:39 +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.
14 lines
287 B
Plaintext
14 lines
287 B
Plaintext
error: `enum` and `struct` are mutually exclusive
|
|
--> $DIR/issue-99625-enum-struct-mutually-exclusive.rs:3:5
|
|
|
|
|
LL | pub enum struct Range {
|
|
| ^^^^^^^^^^^
|
|
|
|
|
help: replace `enum struct` with
|
|
|
|
|
LL | pub enum Range {
|
|
| ~~~~
|
|
|
|
error: aborting due to 1 previous error
|
|
|