mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03:00
b849e10d38
`span_suggestions` is to provide mutually exclusive suggestions. When it was introduced, we made its behavior be that if a single suggestion is given to it, we present the suggestion inline, otherwise in patch format. Changing this to make all of its uses be verbose, as that is closer in intent of output.
16 lines
368 B
Plaintext
16 lines
368 B
Plaintext
error[E0573]: expected type, found variant `foo::Foo::FooV`
|
|
--> $DIR/issue-30535.rs:7:8
|
|
|
|
|
LL | _: foo::Foo::FooV
|
|
| ^^^^^^^^^^^^^^ not a type
|
|
|
|
|
help: try using the variant's enum
|
|
|
|
|
LL - _: foo::Foo::FooV
|
|
LL + _: foo::Foo
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0573`.
|