1 error: unneeded long form for URL
2 --> $DIR/url-improvements.rs:3:5
4 LL | /// [http://aa.com](http://aa.com)
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://aa.com>`
7 note: the lint level is defined here
8 --> $DIR/url-improvements.rs:1:9
10 LL | #![deny(non_autolinks)]
13 error: unneeded long form for URL
14 --> $DIR/url-improvements.rs:5:5
16 LL | /// [http://bb.com]
17 | ^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://bb.com>`
19 error: this URL is not a hyperlink
20 --> $DIR/url-improvements.rs:13:5
22 LL | /// https://somewhere.com
23 | ^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com>`
25 error: this URL is not a hyperlink
26 --> $DIR/url-improvements.rs:15:5
28 LL | /// https://somewhere.com/a
29 | ^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a>`
31 error: this URL is not a hyperlink
32 --> $DIR/url-improvements.rs:17:5
34 LL | /// https://www.somewhere.com
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.somewhere.com>`
37 error: this URL is not a hyperlink
38 --> $DIR/url-improvements.rs:19:5
40 LL | /// https://www.somewhere.com/a
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.somewhere.com/a>`
43 error: this URL is not a hyperlink
44 --> $DIR/url-improvements.rs:21:5
46 LL | /// https://subdomain.example.com
47 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://subdomain.example.com>`
49 error: this URL is not a hyperlink
50 --> $DIR/url-improvements.rs:23:5
52 LL | /// https://somewhere.com?
53 | ^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?>`
55 error: this URL is not a hyperlink
56 --> $DIR/url-improvements.rs:25:5
58 LL | /// https://somewhere.com/a?
59 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a?>`
61 error: this URL is not a hyperlink
62 --> $DIR/url-improvements.rs:27:5
64 LL | /// https://somewhere.com?hello=12
65 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?hello=12>`
67 error: this URL is not a hyperlink
68 --> $DIR/url-improvements.rs:29:5
70 LL | /// https://somewhere.com/a?hello=12
71 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a?hello=12>`
73 error: this URL is not a hyperlink
74 --> $DIR/url-improvements.rs:31:5
76 LL | /// https://example.com?hello=12#xyz
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com?hello=12#xyz>`
79 error: this URL is not a hyperlink
80 --> $DIR/url-improvements.rs:33:5
82 LL | /// https://example.com/a?hello=12#xyz
83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com/a?hello=12#xyz>`
85 error: this URL is not a hyperlink
86 --> $DIR/url-improvements.rs:35:5
88 LL | /// https://example.com#xyz
89 | ^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com#xyz>`
91 error: this URL is not a hyperlink
92 --> $DIR/url-improvements.rs:37:5
94 LL | /// https://example.com/a#xyz
95 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com/a#xyz>`
97 error: this URL is not a hyperlink
98 --> $DIR/url-improvements.rs:39:5
100 LL | /// https://somewhere.com?hello=12&bye=11
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?hello=12&bye=11>`
103 error: this URL is not a hyperlink
104 --> $DIR/url-improvements.rs:41:5
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>`
109 error: this URL is not a hyperlink
110 --> $DIR/url-improvements.rs:43:5
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>`
115 error: this URL is not a hyperlink
116 --> $DIR/url-improvements.rs:45:10
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>`
121 error: aborting due to 19 previous errors