|
1 |
| -error: unneeded long form for URL |
| 1 | +error: this URL is not a hyperlink |
2 | 2 | --> $DIR/url-improvements.rs:3:5
|
3 | 3 | |
|
4 |
| -LL | /// [http://aa.com](http://aa.com) |
5 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://aa.com>` |
| 4 | +LL | /// https://somewhere.com |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com>` |
6 | 6 | |
|
7 | 7 | note: the lint level is defined here
|
8 | 8 | --> $DIR/url-improvements.rs:1:9
|
9 | 9 | |
|
10 | 10 | LL | #![deny(rustdoc::non_autolinks)]
|
11 | 11 | | ^^^^^^^^^^^^^^^^^^^^^^
|
12 | 12 |
|
13 |
| -error: unneeded long form for URL |
14 |
| - --> $DIR/url-improvements.rs:5:5 |
15 |
| - | |
16 |
| -LL | /// [http://bb.com] |
17 |
| - | ^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://bb.com>` |
18 |
| - |
19 | 13 | error: this URL is not a hyperlink
|
20 |
| - --> $DIR/url-improvements.rs:13:5 |
21 |
| - | |
22 |
| -LL | /// https://somewhere.com |
23 |
| - | ^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com>` |
24 |
| - |
25 |
| -error: this URL is not a hyperlink |
26 |
| - --> $DIR/url-improvements.rs:15:5 |
| 14 | + --> $DIR/url-improvements.rs:5:5 |
27 | 15 | |
|
28 | 16 | LL | /// https://somewhere.com/a
|
29 | 17 | | ^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a>`
|
30 | 18 |
|
31 | 19 | error: this URL is not a hyperlink
|
32 |
| - --> $DIR/url-improvements.rs:17:5 |
| 20 | + --> $DIR/url-improvements.rs:7:5 |
33 | 21 | |
|
34 | 22 | LL | /// https://www.somewhere.com
|
35 | 23 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.somewhere.com>`
|
36 | 24 |
|
37 | 25 | error: this URL is not a hyperlink
|
38 |
| - --> $DIR/url-improvements.rs:19:5 |
| 26 | + --> $DIR/url-improvements.rs:9:5 |
39 | 27 | |
|
40 | 28 | LL | /// https://www.somewhere.com/a
|
41 | 29 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.somewhere.com/a>`
|
42 | 30 |
|
43 | 31 | error: this URL is not a hyperlink
|
44 |
| - --> $DIR/url-improvements.rs:21:5 |
| 32 | + --> $DIR/url-improvements.rs:11:5 |
45 | 33 | |
|
46 | 34 | LL | /// https://subdomain.example.com
|
47 | 35 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://subdomain.example.com>`
|
48 | 36 |
|
49 | 37 | error: this URL is not a hyperlink
|
50 |
| - --> $DIR/url-improvements.rs:23:5 |
| 38 | + --> $DIR/url-improvements.rs:13:5 |
51 | 39 | |
|
52 | 40 | LL | /// https://somewhere.com?
|
53 | 41 | | ^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?>`
|
54 | 42 |
|
55 | 43 | error: this URL is not a hyperlink
|
56 |
| - --> $DIR/url-improvements.rs:25:5 |
| 44 | + --> $DIR/url-improvements.rs:15:5 |
57 | 45 | |
|
58 | 46 | LL | /// https://somewhere.com/a?
|
59 | 47 | | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a?>`
|
60 | 48 |
|
61 | 49 | error: this URL is not a hyperlink
|
62 |
| - --> $DIR/url-improvements.rs:27:5 |
| 50 | + --> $DIR/url-improvements.rs:17:5 |
63 | 51 | |
|
64 | 52 | LL | /// https://somewhere.com?hello=12
|
65 | 53 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?hello=12>`
|
66 | 54 |
|
67 | 55 | error: this URL is not a hyperlink
|
68 |
| - --> $DIR/url-improvements.rs:29:5 |
| 56 | + --> $DIR/url-improvements.rs:19:5 |
69 | 57 | |
|
70 | 58 | LL | /// https://somewhere.com/a?hello=12
|
71 | 59 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a?hello=12>`
|
72 | 60 |
|
73 | 61 | error: this URL is not a hyperlink
|
74 |
| - --> $DIR/url-improvements.rs:31:5 |
| 62 | + --> $DIR/url-improvements.rs:21:5 |
75 | 63 | |
|
76 | 64 | LL | /// https://example.com?hello=12#xyz
|
77 | 65 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com?hello=12#xyz>`
|
78 | 66 |
|
79 | 67 | error: this URL is not a hyperlink
|
80 |
| - --> $DIR/url-improvements.rs:33:5 |
| 68 | + --> $DIR/url-improvements.rs:23:5 |
81 | 69 | |
|
82 | 70 | LL | /// https://example.com/a?hello=12#xyz
|
83 | 71 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com/a?hello=12#xyz>`
|
84 | 72 |
|
85 | 73 | error: this URL is not a hyperlink
|
86 |
| - --> $DIR/url-improvements.rs:35:5 |
| 74 | + --> $DIR/url-improvements.rs:25:5 |
87 | 75 | |
|
88 | 76 | LL | /// https://example.com#xyz
|
89 | 77 | | ^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com#xyz>`
|
90 | 78 |
|
91 | 79 | error: this URL is not a hyperlink
|
92 |
| - --> $DIR/url-improvements.rs:37:5 |
| 80 | + --> $DIR/url-improvements.rs:27:5 |
93 | 81 | |
|
94 | 82 | LL | /// https://example.com/a#xyz
|
95 | 83 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com/a#xyz>`
|
96 | 84 |
|
97 | 85 | error: this URL is not a hyperlink
|
98 |
| - --> $DIR/url-improvements.rs:39:5 |
| 86 | + --> $DIR/url-improvements.rs:29:5 |
99 | 87 | |
|
100 | 88 | LL | /// https://somewhere.com?hello=12&bye=11
|
101 | 89 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?hello=12&bye=11>`
|
102 | 90 |
|
103 | 91 | error: this URL is not a hyperlink
|
104 |
| - --> $DIR/url-improvements.rs:41:5 |
| 92 | + --> $DIR/url-improvements.rs:31:5 |
105 | 93 | |
|
106 | 94 | LL | /// https://somewhere.com/a?hello=12&bye=11
|
107 | 95 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a?hello=12&bye=11>`
|
108 | 96 |
|
109 | 97 | error: this URL is not a hyperlink
|
110 |
| - --> $DIR/url-improvements.rs:43:5 |
| 98 | + --> $DIR/url-improvements.rs:33:5 |
111 | 99 | |
|
112 | 100 | LL | /// https://somewhere.com?hello=12&bye=11#xyz
|
113 | 101 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?hello=12&bye=11#xyz>`
|
114 | 102 |
|
115 | 103 | error: this URL is not a hyperlink
|
116 |
| - --> $DIR/url-improvements.rs:45:10 |
| 104 | + --> $DIR/url-improvements.rs:35:10 |
117 | 105 | |
|
118 | 106 | LL | /// hey! https://somewhere.com/a?hello=12&bye=11#xyz
|
119 | 107 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a?hello=12&bye=11#xyz>`
|
120 | 108 |
|
121 |
| -error: aborting due to 19 previous errors |
| 109 | +error: aborting due to 17 previous errors |
122 | 110 |
|
0 commit comments