]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/intra-link-errors.stderr
Add `unclosed_html_tags` lint
[rust.git] / src / test / rustdoc-ui / intra-link-errors.stderr
1 error: unresolved link to `path::to::nonexistent::module`
2   --> $DIR/intra-link-errors.rs:8:6
3    |
4 LL | /// [path::to::nonexistent::module]
5    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
6    |
7 note: the lint level is defined here
8   --> $DIR/intra-link-errors.rs:2:9
9    |
10 LL | #![deny(broken_intra_doc_links)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^
12
13 error: unresolved link to `path::to::nonexistent::macro`
14   --> $DIR/intra-link-errors.rs:12:6
15    |
16 LL | /// [path::to::nonexistent::macro!]
17    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
18
19 error: unresolved link to `path::to::nonexistent::type`
20   --> $DIR/intra-link-errors.rs:16:6
21    |
22 LL | /// [type@path::to::nonexistent::type]
23    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
24
25 error: unresolved link to `std::io::not::here`
26   --> $DIR/intra-link-errors.rs:20:6
27    |
28 LL | /// [std::io::not::here]
29    |      ^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
30
31 <<<<<<< HEAD
32 error: unresolved link to `std::io::not::here`
33   --> $DIR/intra-link-errors.rs:23:6
34 =======
35 error: unresolved link to `std::io::Error::x`
36   --> $DIR/intra-link-errors.rs:24:6
37 >>>>>>> Add `unclosed_html_tags` lint
38    |
39 LL | /// [type@std::io::not::here]
40    |      ^^^^^^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
41
42 error: unresolved link to `std::io::Error::x`
43   --> $DIR/intra-link-errors.rs:27:6
44    |
45 LL | /// [std::io::Error::x]
46    |      ^^^^^^^^^^^^^^^^^ the struct `Error` has no field or associated item named `x`
47
48 error: unresolved link to `std::io::ErrorKind::x`
49 <<<<<<< HEAD
50   --> $DIR/intra-link-errors.rs:31:6
51 =======
52   --> $DIR/intra-link-errors.rs:28:6
53 >>>>>>> Add `unclosed_html_tags` lint
54    |
55 LL | /// [std::io::ErrorKind::x]
56    |      ^^^^^^^^^^^^^^^^^^^^^ the enum `ErrorKind` has no variant or associated item named `x`
57
58 error: unresolved link to `f::A`
59 <<<<<<< HEAD
60   --> $DIR/intra-link-errors.rs:35:6
61 =======
62   --> $DIR/intra-link-errors.rs:32:6
63 >>>>>>> Add `unclosed_html_tags` lint
64    |
65 LL | /// [f::A]
66    |      ^^^^ `f` is a function, not a module or type, and cannot have associated items
67
68 error: unresolved link to `f::A`
69   --> $DIR/intra-link-errors.rs:39:6
70    |
71 LL | /// [f::A!]
72    |      ^^^^^ `f` is a function, not a module or type, and cannot have associated items
73
74 error: unresolved link to `S::A`
75 <<<<<<< HEAD
76   --> $DIR/intra-link-errors.rs:43:6
77 =======
78   --> $DIR/intra-link-errors.rs:36:6
79 >>>>>>> Add `unclosed_html_tags` lint
80    |
81 LL | /// [S::A]
82    |      ^^^^ the struct `S` has no field or associated item named `A`
83
84 error: unresolved link to `S::fmt`
85 <<<<<<< HEAD
86   --> $DIR/intra-link-errors.rs:47:6
87 =======
88   --> $DIR/intra-link-errors.rs:40:6
89 >>>>>>> Add `unclosed_html_tags` lint
90    |
91 LL | /// [S::fmt]
92    |      ^^^^^^ the struct `S` has no field or associated item named `fmt`
93
94 error: unresolved link to `E::D`
95 <<<<<<< HEAD
96   --> $DIR/intra-link-errors.rs:51:6
97 =======
98   --> $DIR/intra-link-errors.rs:44:6
99 >>>>>>> Add `unclosed_html_tags` lint
100    |
101 LL | /// [E::D]
102    |      ^^^^ the enum `E` has no variant or associated item named `D`
103
104 error: unresolved link to `u8::not_found`
105 <<<<<<< HEAD
106   --> $DIR/intra-link-errors.rs:55:6
107 =======
108   --> $DIR/intra-link-errors.rs:48:6
109 >>>>>>> Add `unclosed_html_tags` lint
110    |
111 LL | /// [u8::not_found]
112    |      ^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
113
114 error: unresolved link to `std::primitive::u8::not_found`
115   --> $DIR/intra-link-errors.rs:59:6
116    |
117 LL | /// [std::primitive::u8::not_found]
118    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
119
120 error: unresolved link to `Vec::into_iter`
121   --> $DIR/intra-link-errors.rs:63:6
122    |
123 LL | /// [type@Vec::into_iter]
124    |      ^^^^^^^^^^^^^^^^^^^
125    |      |
126    |      this link resolves to the associated function `into_iter`, which is not in the type namespace
127    |      help: to link to the associated function, add parentheses: `Vec::into_iter()`
128
129 error: unresolved link to `S`
130 <<<<<<< HEAD
131   --> $DIR/intra-link-errors.rs:68:6
132 =======
133   --> $DIR/intra-link-errors.rs:52:6
134 >>>>>>> Add `unclosed_html_tags` lint
135    |
136 LL | /// [S!]
137    |      ^^
138    |      |
139    |      this link resolves to the struct `S`, which is not in the macro namespace
140    |      help: to link to the struct, prefix with `struct@`: `struct@S`
141
142 error: unresolved link to `T::g`
143 <<<<<<< HEAD
144   --> $DIR/intra-link-errors.rs:86:6
145 =======
146   --> $DIR/intra-link-errors.rs:70:6
147 >>>>>>> Add `unclosed_html_tags` lint
148    |
149 LL | /// [type@T::g]
150    |      ^^^^^^^^^
151    |      |
152    |      this link resolves to the associated function `g`, which is not in the type namespace
153    |      help: to link to the associated function, add parentheses: `T::g()`
154
155 error: unresolved link to `T::h`
156 <<<<<<< HEAD
157   --> $DIR/intra-link-errors.rs:91:6
158 =======
159   --> $DIR/intra-link-errors.rs:75:6
160 >>>>>>> Add `unclosed_html_tags` lint
161    |
162 LL | /// [T::h!]
163    |      ^^^^^ the trait `T` has no macro named `h`
164
165 error: unresolved link to `S::h`
166 <<<<<<< HEAD
167   --> $DIR/intra-link-errors.rs:78:6
168 =======
169   --> $DIR/intra-link-errors.rs:62:6
170 >>>>>>> Add `unclosed_html_tags` lint
171    |
172 LL | /// [type@S::h]
173    |      ^^^^^^^^^
174    |      |
175    |      this link resolves to the associated function `h`, which is not in the type namespace
176    |      help: to link to the associated function, add parentheses: `S::h()`
177
178 error: unresolved link to `m`
179 <<<<<<< HEAD
180   --> $DIR/intra-link-errors.rs:98:6
181 =======
182   --> $DIR/intra-link-errors.rs:82:6
183 >>>>>>> Add `unclosed_html_tags` lint
184    |
185 LL | /// [m()]
186    |      ^^^
187    |      |
188    |      this link resolves to the macro `m`, which is not in the value namespace
189    |      help: to link to the macro, add an exclamation mark: `m!`
190
191 error: aborting due to 20 previous errors
192