diff options
| author | Kyle Lin <minecraft.kyle.train@gmail.com> | 2023-06-30 02:10:55 +0800 |
|---|---|---|
| committer | Kyle Lin <minecraft.kyle.train@gmail.com> | 2023-08-18 15:19:11 +0800 |
| commit | f1b23f29db326292e8f61f63b69725c79a328bac (patch) | |
| tree | 8ee07da623ffb0551ef51d8f830efe6c7521f803 /tests/rustdoc-ui/lints | |
| parent | 1c6b237f9e360356f2b0b3712f83e91a53ddbe86 (diff) | |
| download | rust-f1b23f29db326292e8f61f63b69725c79a328bac.tar.gz rust-f1b23f29db326292e8f61f63b69725c79a328bac.zip | |
bless test output
Diffstat (limited to 'tests/rustdoc-ui/lints')
| -rw-r--r-- | tests/rustdoc-ui/lints/redundant_explicit_links.stderr | 54 |
1 files changed, 45 insertions, 9 deletions
diff --git a/tests/rustdoc-ui/lints/redundant_explicit_links.stderr b/tests/rustdoc-ui/lints/redundant_explicit_links.stderr index 4ca427d62ce..e72105f394f 100644 --- a/tests/rustdoc-ui/lints/redundant_explicit_links.stderr +++ b/tests/rustdoc-ui/lints/redundant_explicit_links.stderr @@ -22,7 +22,7 @@ LL | /// [`dummy_target`](dummy_target) = help: Remove explicit link instead error: redundant explicit rustdoc link - --> $DIR/redundant_explicit_links.rs:7:11 + --> $DIR/redundant_explicit_links.rs:8:11 | LL | /// [Vec](Vec) | ^^^ @@ -31,7 +31,7 @@ LL | /// [Vec](Vec) = help: Remove explicit link instead error: redundant explicit rustdoc link - --> $DIR/redundant_explicit_links.rs:8:13 + --> $DIR/redundant_explicit_links.rs:9:13 | LL | /// [`Vec`](Vec) | ^^^ @@ -40,7 +40,7 @@ LL | /// [`Vec`](Vec) = help: Remove explicit link instead error: redundant explicit rustdoc link - --> $DIR/redundant_explicit_links.rs:9:11 + --> $DIR/redundant_explicit_links.rs:10:11 | LL | /// [Vec](std::vec::Vec) | ^^^^^^^^^^^^^ @@ -49,7 +49,7 @@ LL | /// [Vec](std::vec::Vec) = help: Remove explicit link instead error: redundant explicit rustdoc link - --> $DIR/redundant_explicit_links.rs:10:13 + --> $DIR/redundant_explicit_links.rs:11:13 | LL | /// [`Vec`](std::vec::Vec) | ^^^^^^^^^^^^^ @@ -58,7 +58,7 @@ LL | /// [`Vec`](std::vec::Vec) = help: Remove explicit link instead error: redundant explicit rustdoc link - --> $DIR/redundant_explicit_links.rs:11:21 + --> $DIR/redundant_explicit_links.rs:14:21 | LL | /// [std::vec::Vec](std::vec::Vec) | ^^^^^^^^^^^^^ @@ -67,7 +67,7 @@ LL | /// [std::vec::Vec](std::vec::Vec) = help: Remove explicit link instead error: redundant explicit rustdoc link - --> $DIR/redundant_explicit_links.rs:12:23 + --> $DIR/redundant_explicit_links.rs:15:23 | LL | /// [`std::vec::Vec`](std::vec::Vec) | ^^^^^^^^^^^^^ @@ -76,7 +76,7 @@ LL | /// [`std::vec::Vec`](std::vec::Vec) = help: Remove explicit link instead error: redundant explicit rustdoc link - --> $DIR/redundant_explicit_links.rs:13:13 + --> $DIR/redundant_explicit_links.rs:17:13 | LL | /// [usize](usize) | ^^^^^ @@ -85,7 +85,7 @@ LL | /// [usize](usize) = help: Remove explicit link instead error: redundant explicit rustdoc link - --> $DIR/redundant_explicit_links.rs:14:15 + --> $DIR/redundant_explicit_links.rs:18:15 | LL | /// [`usize`](usize) | ^^^^^ @@ -93,5 +93,41 @@ LL | /// [`usize`](usize) = note: Explicit link does not affect the original link = help: Remove explicit link instead -error: aborting due to 10 previous errors +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 |
