mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +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
358 B
Plaintext
16 lines
358 B
Plaintext
error: malformed `path` attribute input
|
|
--> $DIR/path-invalid-form.rs:1:1
|
|
|
|
|
LL | #[path = 123]
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/items/modules.html#the-path-attribute>
|
|
help: must be of the form
|
|
|
|
|
LL - #[path = 123]
|
|
LL + #[path = "file"]
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|