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.
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
error: couldn't read $DIR/../foo.random: $FILE_NOT_FOUND_MSG (os error $FILE_NOT_FOUND_CODE)
|
|
--> $DIR/invalid-debugger-visualizer-option.rs:5:24
|
|
|
|
|
LL | #![debugger_visualizer(natvis_file = "../foo.random")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error[E0539]: malformed `debugger_visualizer` attribute input
|
|
--> $DIR/invalid-debugger-visualizer-option.rs:4:1
|
|
|
|
|
LL | #![debugger_visualizer(random_file = "../foo.random")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^
|
|
| |
|
|
| valid arguments are `natvis_file` or `gdb_script_file`
|
|
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/attributes/debugger.html#the-debugger_visualizer-attribute>
|
|
help: must be of the form
|
|
|
|
|
LL - #![debugger_visualizer(random_file = "../foo.random")]
|
|
LL + #![debugger_visualizer(natvis_file = "...", gdb_script_file = "...")]
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0539`.
|