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

134 lines
3.8 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:8: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:9: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:10: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:11: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:14: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:15: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:17: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:18:15
|
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:19:13
|
LL | /// [usize](std::primitive::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:20:15
|
LL | /// [`usize`](std::primitive::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:23:29
|
LL | /// [std::primitive::usize](std::primitive::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:24:31
|
LL | /// [`std::primitive::usize`](std::primitive::usize)
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: Explicit link does not affect the original link
= help: Remove explicit link instead
error: aborting due to 14 previous errors