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.
18 lines
367 B
Plaintext
18 lines
367 B
Plaintext
error[E0565]: malformed `cold` attribute input
|
|
--> $DIR/expected-word.rs:1:1
|
|
|
|
|
LL | #[cold = true]
|
|
| ^^^^^^^------^
|
|
| |
|
|
| didn't expect any arguments here
|
|
|
|
|
help: must be of the form
|
|
|
|
|
LL - #[cold = true]
|
|
LL + #[cold]
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0565`.
|