rust/tests/rustdoc-ui/lints/redundant_explicit_links.stderr
2023-08-18 15:19:10 +08:00

98 lines
2.7 KiB
Plaintext

error: redundant explicit rustdoc link
--> $DIR/redundant_explicit_links.rs:5:20
|
LL | /// [dummy_target](dummy_target)
| ^^^^^^^^^^^^
|
= note: Explicit link does not affect the original link
note: the lint level is defined here
--> $DIR/redundant_explicit_links.rs:1:9
|
LL | #![deny(rustdoc::redundant_explicit_links)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: Remove explicit link instead
error: redundant explicit rustdoc link
--> $DIR/redundant_explicit_links.rs:6:22
|
LL | /// [`dummy_target`](dummy_target)
| ^^^^^^^^^^^^
|
= note: Explicit link does not affect the original link
= help: Remove explicit link instead
error: redundant explicit rustdoc link
--> $DIR/redundant_explicit_links.rs:7:11
|
LL | /// [Vec](Vec)
| ^^^
|
= note: Explicit link does not affect the original link
= help: Remove explicit link instead
error: redundant explicit rustdoc link
--> $DIR/redundant_explicit_links.rs:8:13
|
LL | /// [`Vec`](Vec)
| ^^^
|
= note: Explicit link does not affect the original link
= help: Remove explicit link instead
error: redundant explicit rustdoc link
--> $DIR/redundant_explicit_links.rs:9:11
|
LL | /// [Vec](std::vec::Vec)
| ^^^^^^^^^^^^^
|
= note: Explicit link does not affect the original link
= help: Remove explicit link instead
error: redundant explicit rustdoc link
--> $DIR/redundant_explicit_links.rs:10:13
|
LL | /// [`Vec`](std::vec::Vec)
| ^^^^^^^^^^^^^
|
= note: Explicit link does not affect the original link
= help: Remove explicit link instead
error: redundant explicit rustdoc link
--> $DIR/redundant_explicit_links.rs:11:21
|
LL | /// [std::vec::Vec](std::vec::Vec)
| ^^^^^^^^^^^^^
|
= note: Explicit link does not affect the original link
= help: Remove explicit link instead
error: redundant explicit rustdoc link
--> $DIR/redundant_explicit_links.rs:12:23
|
LL | /// [`std::vec::Vec`](std::vec::Vec)
| ^^^^^^^^^^^^^
|
= note: Explicit link does not affect the original link
= help: Remove explicit link instead
error: redundant explicit rustdoc link
--> $DIR/redundant_explicit_links.rs:13:13
|
LL | /// [usize](usize)
| ^^^^^
|
= note: Explicit link does not affect the original link
= help: Remove explicit link instead
error: redundant explicit rustdoc link
--> $DIR/redundant_explicit_links.rs:14:15
|
LL | /// [`usize`](usize)
| ^^^^^
|
= note: Explicit link does not affect the original link
= help: Remove explicit link instead
error: aborting due to 10 previous errors