mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
140392b041
Use more accurate spans for multipart suggestion.
20 lines
609 B
Plaintext
20 lines
609 B
Plaintext
error: this URL is not a hyperlink
|
|
--> $DIR/auxiliary/include-str-bare-urls.md:1:11
|
|
|
|
|
LL | HEADS UP! https://example.com MUST SHOW UP IN THE STDERR FILE!
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: bare URLs are not automatically turned into clickable links
|
|
note: the lint level is defined here
|
|
--> $DIR/include-str-bare-urls.rs:14:9
|
|
|
|
|
LL | #![deny(rustdoc::bare_urls)]
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
help: use an automatic link instead
|
|
|
|
|
LL | HEADS UP! <https://example.com> MUST SHOW UP IN THE STDERR FILE!
|
|
| + +
|
|
|
|
error: aborting due to 1 previous error
|
|
|