about summary refs log tree commit diff
path: root/tests/rustdoc-ui/lints/redundant_explicit_links-expansion.stderr
blob: a81931fb0732d0581265cb8335d7a37c3d0cc03c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
error: redundant explicit link target
  --> $DIR/redundant_explicit_links-expansion.rs:32:43
   |
LL | #[doc = "provided by a [`BufferProvider`](crate::BufferProvider)."]
   |                         ----------------  ^^^^^^^^^^^^^^^^^^^^^ 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-expansion.rs:4:9
   |
LL | #![deny(rustdoc::redundant_explicit_links)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: remove explicit link target
   |
LL - #[doc = "provided by a [`BufferProvider`](crate::BufferProvider)."]
LL + #[doc = "provided by a [`BufferProvider`]."]
   |

error: redundant explicit link target
  --> $DIR/redundant_explicit_links-expansion.rs:38:26
   |
LL | /// a [`BufferProvider`](crate::BufferProvider).
   |        ----------------  ^^^^^^^^^^^^^^^^^^^^^ 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 - /// a [`BufferProvider`](crate::BufferProvider).
LL + /// a [`BufferProvider`].
   |

error: aborting due to 2 previous errors