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