mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
140392b041
Use more accurate spans for multipart suggestion.
20 lines
554 B
Plaintext
20 lines
554 B
Plaintext
error: this URL is not a hyperlink
|
|
--> $DIR/diagnostic-width.rs:4:41
|
|
|
|
|
LL | ... a http://link.com
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
= note: bare URLs are not automatically turned into clickable links
|
|
note: the lint level is defined here
|
|
--> $DIR/diagnostic-width.rs:2:9
|
|
|
|
|
LL | ...ny(rustdoc::bare_url...
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
help: use an automatic link instead
|
|
|
|
|
LL | /// This is a long line that contains a <http://link.com>
|
|
| + +
|
|
|
|
error: aborting due to 1 previous error
|
|
|