]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-ui/url-improvements.stderr
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / src / test / rustdoc-ui / url-improvements.stderr
1 error: unneeded long form for URL
2 --> $DIR/url-improvements.rs:3:5
3 |
4 LL | /// [http://aa.com](http://aa.com)
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://aa.com>`
6 |
7 note: the lint level is defined here
8 --> $DIR/url-improvements.rs:1:9
9 |
10 LL | #![deny(non_autolinks)]
11 | ^^^^^^^^^^^^^
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 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
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/url-improvements.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/url-improvements.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/url-improvements.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/url-improvements.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/url-improvements.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/url-improvements.rs:27:5
63 |
64 LL | /// https://somewhere.com?hello=12
65 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://somewhere.com?hello=12>`
66
67 error: this URL is not a hyperlink
68 --> $DIR/url-improvements.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/url-improvements.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/url-improvements.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/url-improvements.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/url-improvements.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/url-improvements.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/url-improvements.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/url-improvements.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/url-improvements.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
122