2020-10-13 15:46:34 +02:00
|
|
|
error: unneeded long form for URL
|
2020-10-12 18:29:56 +02:00
|
|
|
--> $DIR/automatic-links.rs:3:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// [http://a.com](http://a.com)
|
2020-10-13 15:46:34 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://a.com>`
|
2020-10-12 18:29:56 +02:00
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
|
--> $DIR/automatic-links.rs:1:9
|
|
|
|
|
|
|
2020-10-17 16:38:49 +02:00
|
|
|
LL | #![deny(url_improvements)]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2020-10-12 18:29:56 +02:00
|
|
|
|
2020-10-13 15:46:34 +02:00
|
|
|
error: unneeded long form for URL
|
2020-10-12 18:29:56 +02:00
|
|
|
--> $DIR/automatic-links.rs:5:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// [http://b.com]
|
2020-10-13 15:46:34 +02:00
|
|
|
| ^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://b.com>`
|
|
|
|
|
|
2020-10-14 15:11:55 +02:00
|
|
|
error: this URL is not a hyperlink
|
2020-10-13 15:46:34 +02:00
|
|
|
--> $DIR/automatic-links.rs:13:5
|
2020-10-12 18:29:56 +02:00
|
|
|
|
|
2020-10-14 15:11:55 +02:00
|
|
|
LL | /// https://somewhere.com
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:15:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://somewhere.com/a
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:17:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://www.somewhere.com
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.somewhere.com>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:19:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://www.somewhere.com/a
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.somewhere.com/a>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:21:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://subdomain.example.com
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://subdomain.example.com>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:23:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://somewhere.com?
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:25:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://somewhere.com/a?
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a?>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:27:5
|
|
|
|
|
|
|
2020-10-13 15:46:34 +02:00
|
|
|
LL | /// https://somewhere.com?hello=12
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?hello=12>`
|
2020-10-12 18:29:56 +02:00
|
|
|
|
2020-10-14 15:11:55 +02:00
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:29:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://somewhere.com/a?hello=12
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a?hello=12>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:31:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://example.com?hello=12#xyz
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com?hello=12#xyz>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:33:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://example.com/a?hello=12#xyz
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com/a?hello=12#xyz>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:35:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://example.com#xyz
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com#xyz>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:37:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://example.com/a#xyz
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://example.com/a#xyz>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:39:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://somewhere.com?hello=12&bye=11
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?hello=12&bye=11>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:41:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://somewhere.com/a?hello=12&bye=11
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a?hello=12&bye=11>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:43:5
|
|
|
|
|
|
|
|
|
|
|
LL | /// https://somewhere.com?hello=12&bye=11#xyz
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?hello=12&bye=11#xyz>`
|
|
|
|
|
|
|
|
|
|
error: this URL is not a hyperlink
|
|
|
|
|
--> $DIR/automatic-links.rs:45:10
|
|
|
|
|
|
|
|
|
|
|
LL | /// hey! https://somewhere.com/a?hello=12&bye=11#xyz
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com/a?hello=12&bye=11#xyz>`
|
|
|
|
|
|
|
|
|
|
error: aborting due to 19 previous errors
|
2020-10-12 18:29:56 +02:00
|
|
|
|