mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
error: redundant explicit link target
|
|
--> $DIR/redundant_explicit_links-some-skipped.rs:9:14
|
|
|
|
|
LL | /// [Option][Option]
|
|
| ------ ^^^^^^ explicit target is redundant
|
|
| |
|
|
| because label contains path that resolves to same destination
|
|
|
|
|
= note: when a link's destination is not specified,
|
|
the label is used to resolve intra-doc links
|
|
note: the lint level is defined here
|
|
--> $DIR/redundant_explicit_links-some-skipped.rs:7:9
|
|
|
|
|
LL | #![deny(rustdoc::redundant_explicit_links)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
help: remove explicit link target
|
|
|
|
|
LL - /// [Option][Option]
|
|
LL + /// [Option]
|
|
|
|
|
|
|
error: redundant explicit link target
|
|
--> $DIR/redundant_explicit_links-some-skipped.rs:15:14
|
|
|
|
|
LL | /// [Result][Result]
|
|
| ------ ^^^^^^ explicit target is redundant
|
|
| |
|
|
| because label contains path that resolves to same destination
|
|
|
|
|
= note: when a link's destination is not specified,
|
|
the label is used to resolve intra-doc links
|
|
help: remove explicit link target
|
|
|
|
|
LL - /// [Result][Result]
|
|
LL + /// [Result]
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|