fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
31.4 KiB1007 linesraw
1error: redundant explicit link target
2  --> $DIR/redundant_explicit_links.rs:7:20
3   |
4LL | /// [dummy_target](dummy_target)
5   |      ------------  ^^^^^^^^^^^^ explicit target is redundant
6   |      |
7   |      because label contains path that resolves to same destination
8   |
9   = note: when a link's destination is not specified,
10           the label is used to resolve intra-doc links
11note: the lint level is defined here
12  --> $DIR/redundant_explicit_links.rs:3:9
13   |
14LL | #![deny(rustdoc::redundant_explicit_links)]
15   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16help: remove explicit link target
17   |
18LL | /// [dummy_target]
19   |     ~~~~~~~~~~~~~~
20
21error: redundant explicit link target
22  --> $DIR/redundant_explicit_links.rs:9:22
23   |
24LL | /// [`dummy_target`](dummy_target)
25   |      --------------  ^^^^^^^^^^^^ explicit target is redundant
26   |      |
27   |      because label contains path that resolves to same destination
28   |
29   = note: when a link's destination is not specified,
30           the label is used to resolve intra-doc links
31help: remove explicit link target
32   |
33LL | /// [`dummy_target`]
34   |     ~~~~~~~~~~~~~~~~
35
36error: redundant explicit link target
37  --> $DIR/redundant_explicit_links.rs:12:11
38   |
39LL | /// [Vec](Vec)
40   |      ---  ^^^ explicit target is redundant
41   |      |
42   |      because label contains path that resolves to same destination
43   |
44   = note: when a link's destination is not specified,
45           the label is used to resolve intra-doc links
46help: remove explicit link target
47   |
48LL | /// [Vec]
49   |     ~~~~~
50
51error: redundant explicit link target
52  --> $DIR/redundant_explicit_links.rs:14:13
53   |
54LL | /// [`Vec`](Vec)
55   |      -----  ^^^ explicit target is redundant
56   |      |
57   |      because label contains path that resolves to same destination
58   |
59   = note: when a link's destination is not specified,
60           the label is used to resolve intra-doc links
61help: remove explicit link target
62   |
63LL | /// [`Vec`]
64   |     ~~~~~~~
65
66error: redundant explicit link target
67  --> $DIR/redundant_explicit_links.rs:16:11
68   |
69LL | /// [Vec](std::vec::Vec)
70   |      ---  ^^^^^^^^^^^^^ explicit target is redundant
71   |      |
72   |      because label contains path that resolves to same destination
73   |
74   = note: when a link's destination is not specified,
75           the label is used to resolve intra-doc links
76help: remove explicit link target
77   |
78LL | /// [Vec]
79   |     ~~~~~
80
81error: redundant explicit link target
82  --> $DIR/redundant_explicit_links.rs:18:13
83   |
84LL | /// [`Vec`](std::vec::Vec)
85   |      -----  ^^^^^^^^^^^^^ explicit target is redundant
86   |      |
87   |      because label contains path that resolves to same destination
88   |
89   = note: when a link's destination is not specified,
90           the label is used to resolve intra-doc links
91help: remove explicit link target
92   |
93LL | /// [`Vec`]
94   |     ~~~~~~~
95
96error: redundant explicit link target
97  --> $DIR/redundant_explicit_links.rs:20:21
98   |
99LL | /// [std::vec::Vec](Vec)
100   |      -------------  ^^^ explicit target is redundant
101   |      |
102   |      because label contains path that resolves to same destination
103   |
104   = note: when a link's destination is not specified,
105           the label is used to resolve intra-doc links
106help: remove explicit link target
107   |
108LL | /// [std::vec::Vec]
109   |     ~~~~~~~~~~~~~~~
110
111error: redundant explicit link target
112  --> $DIR/redundant_explicit_links.rs:22:23
113   |
114LL | /// [`std::vec::Vec`](Vec)
115   |      ---------------  ^^^ explicit target is redundant
116   |      |
117   |      because label contains path that resolves to same destination
118   |
119   = note: when a link's destination is not specified,
120           the label is used to resolve intra-doc links
121help: remove explicit link target
122   |
123LL | /// [`std::vec::Vec`]
124   |     ~~~~~~~~~~~~~~~~~
125
126error: redundant explicit link target
127  --> $DIR/redundant_explicit_links.rs:24:21
128   |
129LL | /// [std::vec::Vec](std::vec::Vec)
130   |      -------------  ^^^^^^^^^^^^^ explicit target is redundant
131   |      |
132   |      because label contains path that resolves to same destination
133   |
134   = note: when a link's destination is not specified,
135           the label is used to resolve intra-doc links
136help: remove explicit link target
137   |
138LL | /// [std::vec::Vec]
139   |     ~~~~~~~~~~~~~~~
140
141error: redundant explicit link target
142  --> $DIR/redundant_explicit_links.rs:26:23
143   |
144LL | /// [`std::vec::Vec`](std::vec::Vec)
145   |      ---------------  ^^^^^^^^^^^^^ explicit target is redundant
146   |      |
147   |      because label contains path that resolves to same destination
148   |
149   = note: when a link's destination is not specified,
150           the label is used to resolve intra-doc links
151help: remove explicit link target
152   |
153LL | /// [`std::vec::Vec`]
154   |     ~~~~~~~~~~~~~~~~~
155
156error: redundant explicit link target
157  --> $DIR/redundant_explicit_links.rs:29:13
158   |
159LL | /// [usize](usize)
160   |      -----  ^^^^^ explicit target is redundant
161   |      |
162   |      because label contains path that resolves to same destination
163   |
164   = note: when a link's destination is not specified,
165           the label is used to resolve intra-doc links
166help: remove explicit link target
167   |
168LL | /// [usize]
169   |     ~~~~~~~
170
171error: redundant explicit link target
172  --> $DIR/redundant_explicit_links.rs:31:15
173   |
174LL | /// [`usize`](usize)
175   |      -------  ^^^^^ explicit target is redundant
176   |      |
177   |      because label contains path that resolves to same destination
178   |
179   = note: when a link's destination is not specified,
180           the label is used to resolve intra-doc links
181help: remove explicit link target
182   |
183LL | /// [`usize`]
184   |     ~~~~~~~~~
185
186error: redundant explicit link target
187  --> $DIR/redundant_explicit_links.rs:33:13
188   |
189LL | /// [usize](std::primitive::usize)
190   |      -----  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
191   |      |
192   |      because label contains path that resolves to same destination
193   |
194   = note: when a link's destination is not specified,
195           the label is used to resolve intra-doc links
196help: remove explicit link target
197   |
198LL | /// [usize]
199   |     ~~~~~~~
200
201error: redundant explicit link target
202  --> $DIR/redundant_explicit_links.rs:35:15
203   |
204LL | /// [`usize`](std::primitive::usize)
205   |      -------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
206   |      |
207   |      because label contains path that resolves to same destination
208   |
209   = note: when a link's destination is not specified,
210           the label is used to resolve intra-doc links
211help: remove explicit link target
212   |
213LL | /// [`usize`]
214   |     ~~~~~~~~~
215
216error: redundant explicit link target
217  --> $DIR/redundant_explicit_links.rs:37:29
218   |
219LL | /// [std::primitive::usize](usize)
220   |      ---------------------  ^^^^^ explicit target is redundant
221   |      |
222   |      because label contains path that resolves to same destination
223   |
224   = note: when a link's destination is not specified,
225           the label is used to resolve intra-doc links
226help: remove explicit link target
227   |
228LL | /// [std::primitive::usize]
229   |     ~~~~~~~~~~~~~~~~~~~~~~~
230
231error: redundant explicit link target
232  --> $DIR/redundant_explicit_links.rs:39:31
233   |
234LL | /// [`std::primitive::usize`](usize)
235   |      -----------------------  ^^^^^ explicit target is redundant
236   |      |
237   |      because label contains path that resolves to same destination
238   |
239   = note: when a link's destination is not specified,
240           the label is used to resolve intra-doc links
241help: remove explicit link target
242   |
243LL | /// [`std::primitive::usize`]
244   |     ~~~~~~~~~~~~~~~~~~~~~~~~~
245
246error: redundant explicit link target
247  --> $DIR/redundant_explicit_links.rs:41:29
248   |
249LL | /// [std::primitive::usize](std::primitive::usize)
250   |      ---------------------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
251   |      |
252   |      because label contains path that resolves to same destination
253   |
254   = note: when a link's destination is not specified,
255           the label is used to resolve intra-doc links
256help: remove explicit link target
257   |
258LL | /// [std::primitive::usize]
259   |     ~~~~~~~~~~~~~~~~~~~~~~~
260
261error: redundant explicit link target
262  --> $DIR/redundant_explicit_links.rs:43:31
263   |
264LL | /// [`std::primitive::usize`](std::primitive::usize)
265   |      -----------------------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
266   |      |
267   |      because label contains path that resolves to same destination
268   |
269   = note: when a link's destination is not specified,
270           the label is used to resolve intra-doc links
271help: remove explicit link target
272   |
273LL | /// [`std::primitive::usize`]
274   |     ~~~~~~~~~~~~~~~~~~~~~~~~~
275
276error: redundant explicit link target
277  --> $DIR/redundant_explicit_links.rs:46:20
278   |
279LL | /// [dummy_target](dummy_target) TEXT
280   |      ------------  ^^^^^^^^^^^^ explicit target is redundant
281   |      |
282   |      because label contains path that resolves to same destination
283   |
284   = note: when a link's destination is not specified,
285           the label is used to resolve intra-doc links
286help: remove explicit link target
287   |
288LL | /// [dummy_target] TEXT
289   |     ~~~~~~~~~~~~~~
290
291error: redundant explicit link target
292  --> $DIR/redundant_explicit_links.rs:48:22
293   |
294LL | /// [`dummy_target`](dummy_target) TEXT
295   |      --------------  ^^^^^^^^^^^^ explicit target is redundant
296   |      |
297   |      because label contains path that resolves to same destination
298   |
299   = note: when a link's destination is not specified,
300           the label is used to resolve intra-doc links
301help: remove explicit link target
302   |
303LL | /// [`dummy_target`] TEXT
304   |     ~~~~~~~~~~~~~~~~
305
306error: redundant explicit link target
307  --> $DIR/redundant_explicit_links.rs:56:20
308   |
309LL | /// [dummy_target][dummy_target]
310   |      ------------  ^^^^^^^^^^^^ explicit target is redundant
311   |      |
312   |      because label contains path that resolves to same destination
313   |
314   = note: when a link's destination is not specified,
315           the label is used to resolve intra-doc links
316help: remove explicit link target
317   |
318LL | /// [dummy_target]
319   |     ~~~~~~~~~~~~~~
320
321error: redundant explicit link target
322  --> $DIR/redundant_explicit_links.rs:58:22
323   |
324LL | /// [`dummy_target`][dummy_target]
325   |      --------------  ^^^^^^^^^^^^ explicit target is redundant
326   |      |
327   |      because label contains path that resolves to same destination
328   |
329   = note: when a link's destination is not specified,
330           the label is used to resolve intra-doc links
331help: remove explicit link target
332   |
333LL | /// [`dummy_target`]
334   |     ~~~~~~~~~~~~~~~~
335
336error: redundant explicit link target
337  --> $DIR/redundant_explicit_links.rs:61:11
338   |
339LL | /// [Vec][Vec]
340   |      ---  ^^^ explicit target is redundant
341   |      |
342   |      because label contains path that resolves to same destination
343   |
344   = note: when a link's destination is not specified,
345           the label is used to resolve intra-doc links
346help: remove explicit link target
347   |
348LL | /// [Vec]
349   |     ~~~~~
350
351error: redundant explicit link target
352  --> $DIR/redundant_explicit_links.rs:63:13
353   |
354LL | /// [`Vec`][Vec]
355   |      -----  ^^^ explicit target is redundant
356   |      |
357   |      because label contains path that resolves to same destination
358   |
359   = note: when a link's destination is not specified,
360           the label is used to resolve intra-doc links
361help: remove explicit link target
362   |
363LL | /// [`Vec`]
364   |     ~~~~~~~
365
366error: redundant explicit link target
367  --> $DIR/redundant_explicit_links.rs:65:11
368   |
369LL | /// [Vec][std::vec::Vec]
370   |      ---  ^^^^^^^^^^^^^ explicit target is redundant
371   |      |
372   |      because label contains path that resolves to same destination
373   |
374   = note: when a link's destination is not specified,
375           the label is used to resolve intra-doc links
376help: remove explicit link target
377   |
378LL | /// [Vec]
379   |     ~~~~~
380
381error: redundant explicit link target
382  --> $DIR/redundant_explicit_links.rs:67:13
383   |
384LL | /// [`Vec`][std::vec::Vec]
385   |      -----  ^^^^^^^^^^^^^ explicit target is redundant
386   |      |
387   |      because label contains path that resolves to same destination
388   |
389   = note: when a link's destination is not specified,
390           the label is used to resolve intra-doc links
391help: remove explicit link target
392   |
393LL | /// [`Vec`]
394   |     ~~~~~~~
395
396error: redundant explicit link target
397  --> $DIR/redundant_explicit_links.rs:69:21
398   |
399LL | /// [std::vec::Vec][Vec]
400   |      -------------  ^^^ explicit target is redundant
401   |      |
402   |      because label contains path that resolves to same destination
403   |
404   = note: when a link's destination is not specified,
405           the label is used to resolve intra-doc links
406help: remove explicit link target
407   |
408LL | /// [std::vec::Vec]
409   |     ~~~~~~~~~~~~~~~
410
411error: redundant explicit link target
412  --> $DIR/redundant_explicit_links.rs:71:23
413   |
414LL | /// [`std::vec::Vec`][Vec]
415   |      ---------------  ^^^ explicit target is redundant
416   |      |
417   |      because label contains path that resolves to same destination
418   |
419   = note: when a link's destination is not specified,
420           the label is used to resolve intra-doc links
421help: remove explicit link target
422   |
423LL | /// [`std::vec::Vec`]
424   |     ~~~~~~~~~~~~~~~~~
425
426error: redundant explicit link target
427  --> $DIR/redundant_explicit_links.rs:73:21
428   |
429LL | /// [std::vec::Vec][std::vec::Vec]
430   |      -------------  ^^^^^^^^^^^^^ explicit target is redundant
431   |      |
432   |      because label contains path that resolves to same destination
433   |
434   = note: when a link's destination is not specified,
435           the label is used to resolve intra-doc links
436help: remove explicit link target
437   |
438LL | /// [std::vec::Vec]
439   |     ~~~~~~~~~~~~~~~
440
441error: redundant explicit link target
442  --> $DIR/redundant_explicit_links.rs:75:23
443   |
444LL | /// [`std::vec::Vec`][std::vec::Vec]
445   |      ---------------  ^^^^^^^^^^^^^ explicit target is redundant
446   |      |
447   |      because label contains path that resolves to same destination
448   |
449   = note: when a link's destination is not specified,
450           the label is used to resolve intra-doc links
451help: remove explicit link target
452   |
453LL | /// [`std::vec::Vec`]
454   |     ~~~~~~~~~~~~~~~~~
455
456error: redundant explicit link target
457  --> $DIR/redundant_explicit_links.rs:78:13
458   |
459LL | /// [usize][usize]
460   |      -----  ^^^^^ explicit target is redundant
461   |      |
462   |      because label contains path that resolves to same destination
463   |
464   = note: when a link's destination is not specified,
465           the label is used to resolve intra-doc links
466help: remove explicit link target
467   |
468LL | /// [usize]
469   |     ~~~~~~~
470
471error: redundant explicit link target
472  --> $DIR/redundant_explicit_links.rs:80:15
473   |
474LL | /// [`usize`][usize]
475   |      -------  ^^^^^ explicit target is redundant
476   |      |
477   |      because label contains path that resolves to same destination
478   |
479   = note: when a link's destination is not specified,
480           the label is used to resolve intra-doc links
481help: remove explicit link target
482   |
483LL | /// [`usize`]
484   |     ~~~~~~~~~
485
486error: redundant explicit link target
487  --> $DIR/redundant_explicit_links.rs:82:13
488   |
489LL | /// [usize][std::primitive::usize]
490   |      -----  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
491   |      |
492   |      because label contains path that resolves to same destination
493   |
494   = note: when a link's destination is not specified,
495           the label is used to resolve intra-doc links
496help: remove explicit link target
497   |
498LL | /// [usize]
499   |     ~~~~~~~
500
501error: redundant explicit link target
502  --> $DIR/redundant_explicit_links.rs:84:15
503   |
504LL | /// [`usize`][std::primitive::usize]
505   |      -------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
506   |      |
507   |      because label contains path that resolves to same destination
508   |
509   = note: when a link's destination is not specified,
510           the label is used to resolve intra-doc links
511help: remove explicit link target
512   |
513LL | /// [`usize`]
514   |     ~~~~~~~~~
515
516error: redundant explicit link target
517  --> $DIR/redundant_explicit_links.rs:86:29
518   |
519LL | /// [std::primitive::usize][usize]
520   |      ---------------------  ^^^^^ explicit target is redundant
521   |      |
522   |      because label contains path that resolves to same destination
523   |
524   = note: when a link's destination is not specified,
525           the label is used to resolve intra-doc links
526help: remove explicit link target
527   |
528LL | /// [std::primitive::usize]
529   |     ~~~~~~~~~~~~~~~~~~~~~~~
530
531error: redundant explicit link target
532  --> $DIR/redundant_explicit_links.rs:88:31
533   |
534LL | /// [`std::primitive::usize`][usize]
535   |      -----------------------  ^^^^^ explicit target is redundant
536   |      |
537   |      because label contains path that resolves to same destination
538   |
539   = note: when a link's destination is not specified,
540           the label is used to resolve intra-doc links
541help: remove explicit link target
542   |
543LL | /// [`std::primitive::usize`]
544   |     ~~~~~~~~~~~~~~~~~~~~~~~~~
545
546error: redundant explicit link target
547  --> $DIR/redundant_explicit_links.rs:90:29
548   |
549LL | /// [std::primitive::usize][std::primitive::usize]
550   |      ---------------------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
551   |      |
552   |      because label contains path that resolves to same destination
553   |
554   = note: when a link's destination is not specified,
555           the label is used to resolve intra-doc links
556help: remove explicit link target
557   |
558LL | /// [std::primitive::usize]
559   |     ~~~~~~~~~~~~~~~~~~~~~~~
560
561error: redundant explicit link target
562  --> $DIR/redundant_explicit_links.rs:92:31
563   |
564LL | /// [`std::primitive::usize`][std::primitive::usize]
565   |      -----------------------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
566   |      |
567   |      because label contains path that resolves to same destination
568   |
569   = note: when a link's destination is not specified,
570           the label is used to resolve intra-doc links
571help: remove explicit link target
572   |
573LL | /// [`std::primitive::usize`]
574   |     ~~~~~~~~~~~~~~~~~~~~~~~~~
575
576error: redundant explicit link target
577  --> $DIR/redundant_explicit_links.rs:95:20
578   |
579LL | /// [dummy_target][dummy_target] TEXT
580   |      ------------  ^^^^^^^^^^^^ explicit target is redundant
581   |      |
582   |      because label contains path that resolves to same destination
583   |
584   = note: when a link's destination is not specified,
585           the label is used to resolve intra-doc links
586help: remove explicit link target
587   |
588LL | /// [dummy_target] TEXT
589   |     ~~~~~~~~~~~~~~
590
591error: redundant explicit link target
592  --> $DIR/redundant_explicit_links.rs:97:22
593   |
594LL | /// [`dummy_target`][dummy_target] TEXT
595   |      --------------  ^^^^^^^^^^^^ explicit target is redundant
596   |      |
597   |      because label contains path that resolves to same destination
598   |
599   = note: when a link's destination is not specified,
600           the label is used to resolve intra-doc links
601help: remove explicit link target
602   |
603LL | /// [`dummy_target`] TEXT
604   |     ~~~~~~~~~~~~~~~~
605
606error: redundant explicit link target
607  --> $DIR/redundant_explicit_links.rs:105:20
608   |
609LL | /// [dummy_target][dummy_target]
610   |      ------------  ^^^^^^^^^^^^ explicit target is redundant
611   |      |
612   |      because label contains path that resolves to same destination
613   |
614note: referenced explicit link target defined here
615  --> $DIR/redundant_explicit_links.rs:149:21
616   |
617LL | /// [dummy_target]: dummy_target
618   |                     ^^^^^^^^^^^^
619   = note: when a link's destination is not specified,
620           the label is used to resolve intra-doc links
621help: remove explicit link target
622   |
623LL | /// [dummy_target]
624   |     ~~~~~~~~~~~~~~
625
626error: redundant explicit link target
627  --> $DIR/redundant_explicit_links.rs:107:22
628   |
629LL | /// [`dummy_target`][dummy_target]
630   |      --------------  ^^^^^^^^^^^^ explicit target is redundant
631   |      |
632   |      because label contains path that resolves to same destination
633   |
634note: referenced explicit link target defined here
635  --> $DIR/redundant_explicit_links.rs:149:21
636   |
637LL | /// [dummy_target]: dummy_target
638   |                     ^^^^^^^^^^^^
639   = note: when a link's destination is not specified,
640           the label is used to resolve intra-doc links
641help: remove explicit link target
642   |
643LL | /// [`dummy_target`]
644   |     ~~~~~~~~~~~~~~~~
645
646error: redundant explicit link target
647  --> $DIR/redundant_explicit_links.rs:110:11
648   |
649LL | /// [Vec][Vec]
650   |      ---  ^^^ explicit target is redundant
651   |      |
652   |      because label contains path that resolves to same destination
653   |
654note: referenced explicit link target defined here
655  --> $DIR/redundant_explicit_links.rs:150:12
656   |
657LL | /// [Vec]: Vec
658   |            ^^^
659   = note: when a link's destination is not specified,
660           the label is used to resolve intra-doc links
661help: remove explicit link target
662   |
663LL | /// [Vec]
664   |     ~~~~~
665
666error: redundant explicit link target
667  --> $DIR/redundant_explicit_links.rs:112:13
668   |
669LL | /// [`Vec`][Vec]
670   |      -----  ^^^ explicit target is redundant
671   |      |
672   |      because label contains path that resolves to same destination
673   |
674note: referenced explicit link target defined here
675  --> $DIR/redundant_explicit_links.rs:150:12
676   |
677LL | /// [Vec]: Vec
678   |            ^^^
679   = note: when a link's destination is not specified,
680           the label is used to resolve intra-doc links
681help: remove explicit link target
682   |
683LL | /// [`Vec`]
684   |     ~~~~~~~
685
686error: redundant explicit link target
687  --> $DIR/redundant_explicit_links.rs:114:11
688   |
689LL | /// [Vec][std::vec::Vec]
690   |      ---  ^^^^^^^^^^^^^ explicit target is redundant
691   |      |
692   |      because label contains path that resolves to same destination
693   |
694note: referenced explicit link target defined here
695  --> $DIR/redundant_explicit_links.rs:151:22
696   |
697LL | /// [std::vec::Vec]: Vec
698   |                      ^^^
699   = note: when a link's destination is not specified,
700           the label is used to resolve intra-doc links
701help: remove explicit link target
702   |
703LL | /// [Vec]
704   |     ~~~~~
705
706error: redundant explicit link target
707  --> $DIR/redundant_explicit_links.rs:116:13
708   |
709LL | /// [`Vec`][std::vec::Vec]
710   |      -----  ^^^^^^^^^^^^^ explicit target is redundant
711   |      |
712   |      because label contains path that resolves to same destination
713   |
714note: referenced explicit link target defined here
715  --> $DIR/redundant_explicit_links.rs:151:22
716   |
717LL | /// [std::vec::Vec]: Vec
718   |                      ^^^
719   = note: when a link's destination is not specified,
720           the label is used to resolve intra-doc links
721help: remove explicit link target
722   |
723LL | /// [`Vec`]
724   |     ~~~~~~~
725
726error: redundant explicit link target
727  --> $DIR/redundant_explicit_links.rs:118:21
728   |
729LL | /// [std::vec::Vec][Vec]
730   |      -------------  ^^^ explicit target is redundant
731   |      |
732   |      because label contains path that resolves to same destination
733   |
734note: referenced explicit link target defined here
735  --> $DIR/redundant_explicit_links.rs:150:12
736   |
737LL | /// [Vec]: Vec
738   |            ^^^
739   = note: when a link's destination is not specified,
740           the label is used to resolve intra-doc links
741help: remove explicit link target
742   |
743LL | /// [std::vec::Vec]
744   |     ~~~~~~~~~~~~~~~
745
746error: redundant explicit link target
747  --> $DIR/redundant_explicit_links.rs:120:23
748   |
749LL | /// [`std::vec::Vec`][Vec]
750   |      ---------------  ^^^ explicit target is redundant
751   |      |
752   |      because label contains path that resolves to same destination
753   |
754note: referenced explicit link target defined here
755  --> $DIR/redundant_explicit_links.rs:150:12
756   |
757LL | /// [Vec]: Vec
758   |            ^^^
759   = note: when a link's destination is not specified,
760           the label is used to resolve intra-doc links
761help: remove explicit link target
762   |
763LL | /// [`std::vec::Vec`]
764   |     ~~~~~~~~~~~~~~~~~
765
766error: redundant explicit link target
767  --> $DIR/redundant_explicit_links.rs:122:21
768   |
769LL | /// [std::vec::Vec][std::vec::Vec]
770   |      -------------  ^^^^^^^^^^^^^ explicit target is redundant
771   |      |
772   |      because label contains path that resolves to same destination
773   |
774note: referenced explicit link target defined here
775  --> $DIR/redundant_explicit_links.rs:151:22
776   |
777LL | /// [std::vec::Vec]: Vec
778   |                      ^^^
779   = note: when a link's destination is not specified,
780           the label is used to resolve intra-doc links
781help: remove explicit link target
782   |
783LL | /// [std::vec::Vec]
784   |     ~~~~~~~~~~~~~~~
785
786error: redundant explicit link target
787  --> $DIR/redundant_explicit_links.rs:124:23
788   |
789LL | /// [`std::vec::Vec`][std::vec::Vec]
790   |      ---------------  ^^^^^^^^^^^^^ explicit target is redundant
791   |      |
792   |      because label contains path that resolves to same destination
793   |
794note: referenced explicit link target defined here
795  --> $DIR/redundant_explicit_links.rs:151:22
796   |
797LL | /// [std::vec::Vec]: Vec
798   |                      ^^^
799   = note: when a link's destination is not specified,
800           the label is used to resolve intra-doc links
801help: remove explicit link target
802   |
803LL | /// [`std::vec::Vec`]
804   |     ~~~~~~~~~~~~~~~~~
805
806error: redundant explicit link target
807  --> $DIR/redundant_explicit_links.rs:127:13
808   |
809LL | /// [usize][usize]
810   |      -----  ^^^^^ explicit target is redundant
811   |      |
812   |      because label contains path that resolves to same destination
813   |
814note: referenced explicit link target defined here
815  --> $DIR/redundant_explicit_links.rs:152:14
816   |
817LL | /// [usize]: usize
818   |              ^^^^^
819   = note: when a link's destination is not specified,
820           the label is used to resolve intra-doc links
821help: remove explicit link target
822   |
823LL | /// [usize]
824   |     ~~~~~~~
825
826error: redundant explicit link target
827  --> $DIR/redundant_explicit_links.rs:129:15
828   |
829LL | /// [`usize`][usize]
830   |      -------  ^^^^^ explicit target is redundant
831   |      |
832   |      because label contains path that resolves to same destination
833   |
834note: referenced explicit link target defined here
835  --> $DIR/redundant_explicit_links.rs:152:14
836   |
837LL | /// [usize]: usize
838   |              ^^^^^
839   = note: when a link's destination is not specified,
840           the label is used to resolve intra-doc links
841help: remove explicit link target
842   |
843LL | /// [`usize`]
844   |     ~~~~~~~~~
845
846error: redundant explicit link target
847  --> $DIR/redundant_explicit_links.rs:131:13
848   |
849LL | /// [usize][std::primitive::usize]
850   |      -----  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
851   |      |
852   |      because label contains path that resolves to same destination
853   |
854note: referenced explicit link target defined here
855  --> $DIR/redundant_explicit_links.rs:153:30
856   |
857LL | /// [std::primitive::usize]: usize
858   |                              ^^^^^
859   = note: when a link's destination is not specified,
860           the label is used to resolve intra-doc links
861help: remove explicit link target
862   |
863LL | /// [usize]
864   |     ~~~~~~~
865
866error: redundant explicit link target
867  --> $DIR/redundant_explicit_links.rs:133:15
868   |
869LL | /// [`usize`][std::primitive::usize]
870   |      -------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
871   |      |
872   |      because label contains path that resolves to same destination
873   |
874note: referenced explicit link target defined here
875  --> $DIR/redundant_explicit_links.rs:153:30
876   |
877LL | /// [std::primitive::usize]: usize
878   |                              ^^^^^
879   = note: when a link's destination is not specified,
880           the label is used to resolve intra-doc links
881help: remove explicit link target
882   |
883LL | /// [`usize`]
884   |     ~~~~~~~~~
885
886error: redundant explicit link target
887  --> $DIR/redundant_explicit_links.rs:135:29
888   |
889LL | /// [std::primitive::usize][usize]
890   |      ---------------------  ^^^^^ explicit target is redundant
891   |      |
892   |      because label contains path that resolves to same destination
893   |
894note: referenced explicit link target defined here
895  --> $DIR/redundant_explicit_links.rs:152:14
896   |
897LL | /// [usize]: usize
898   |              ^^^^^
899   = note: when a link's destination is not specified,
900           the label is used to resolve intra-doc links
901help: remove explicit link target
902   |
903LL | /// [std::primitive::usize]
904   |     ~~~~~~~~~~~~~~~~~~~~~~~
905
906error: redundant explicit link target
907  --> $DIR/redundant_explicit_links.rs:137:31
908   |
909LL | /// [`std::primitive::usize`][usize]
910   |      -----------------------  ^^^^^ explicit target is redundant
911   |      |
912   |      because label contains path that resolves to same destination
913   |
914note: referenced explicit link target defined here
915  --> $DIR/redundant_explicit_links.rs:152:14
916   |
917LL | /// [usize]: usize
918   |              ^^^^^
919   = note: when a link's destination is not specified,
920           the label is used to resolve intra-doc links
921help: remove explicit link target
922   |
923LL | /// [`std::primitive::usize`]
924   |     ~~~~~~~~~~~~~~~~~~~~~~~~~
925
926error: redundant explicit link target
927  --> $DIR/redundant_explicit_links.rs:139:29
928   |
929LL | /// [std::primitive::usize][std::primitive::usize]
930   |      ---------------------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
931   |      |
932   |      because label contains path that resolves to same destination
933   |
934note: referenced explicit link target defined here
935  --> $DIR/redundant_explicit_links.rs:153:30
936   |
937LL | /// [std::primitive::usize]: usize
938   |                              ^^^^^
939   = note: when a link's destination is not specified,
940           the label is used to resolve intra-doc links
941help: remove explicit link target
942   |
943LL | /// [std::primitive::usize]
944   |     ~~~~~~~~~~~~~~~~~~~~~~~
945
946error: redundant explicit link target
947  --> $DIR/redundant_explicit_links.rs:141:31
948   |
949LL | /// [`std::primitive::usize`][std::primitive::usize]
950   |      -----------------------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
951   |      |
952   |      because label contains path that resolves to same destination
953   |
954note: referenced explicit link target defined here
955  --> $DIR/redundant_explicit_links.rs:153:30
956   |
957LL | /// [std::primitive::usize]: usize
958   |                              ^^^^^
959   = note: when a link's destination is not specified,
960           the label is used to resolve intra-doc links
961help: remove explicit link target
962   |
963LL | /// [`std::primitive::usize`]
964   |     ~~~~~~~~~~~~~~~~~~~~~~~~~
965
966error: redundant explicit link target
967  --> $DIR/redundant_explicit_links.rs:144:20
968   |
969LL | /// [dummy_target][dummy_target] TEXT
970   |      ------------  ^^^^^^^^^^^^ explicit target is redundant
971   |      |
972   |      because label contains path that resolves to same destination
973   |
974note: referenced explicit link target defined here
975  --> $DIR/redundant_explicit_links.rs:149:21
976   |
977LL | /// [dummy_target]: dummy_target
978   |                     ^^^^^^^^^^^^
979   = note: when a link's destination is not specified,
980           the label is used to resolve intra-doc links
981help: remove explicit link target
982   |
983LL | /// [dummy_target] TEXT
984   |     ~~~~~~~~~~~~~~
985
986error: redundant explicit link target
987  --> $DIR/redundant_explicit_links.rs:146:22
988   |
989LL | /// [`dummy_target`][dummy_target] TEXT
990   |      --------------  ^^^^^^^^^^^^ explicit target is redundant
991   |      |
992   |      because label contains path that resolves to same destination
993   |
994note: referenced explicit link target defined here
995  --> $DIR/redundant_explicit_links.rs:149:21
996   |
997LL | /// [dummy_target]: dummy_target
998   |                     ^^^^^^^^^^^^
999   = note: when a link's destination is not specified,
1000           the label is used to resolve intra-doc links
1001help: remove explicit link target
1002   |
1003LL | /// [`dummy_target`] TEXT
1004   |     ~~~~~~~~~~~~~~~~
1005
1006error: aborting due to 60 previous errors
1007