1 error: unresolved link to `path::to::nonexistent::module`
2 --> $DIR/intra-link-errors.rs:8:6
4 LL | /// [path::to::nonexistent::module]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
7 note: the lint level is defined here
8 --> $DIR/intra-link-errors.rs:2:9
10 LL | #![deny(broken_intra_doc_links)]
11 | ^^^^^^^^^^^^^^^^^^^^^^
13 error: unresolved link to `path::to::nonexistent::macro`
14 --> $DIR/intra-link-errors.rs:12:6
16 LL | /// [path::to::nonexistent::macro!]
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
19 error: unresolved link to `path::to::nonexistent::type`
20 --> $DIR/intra-link-errors.rs:16:6
22 LL | /// [type@path::to::nonexistent::type]
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
25 error: unresolved link to `std::io::not::here`
26 --> $DIR/intra-link-errors.rs:20:6
28 LL | /// [std::io::not::here]
29 | ^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
32 error: unresolved link to `std::io::not::here`
33 --> $DIR/intra-link-errors.rs:23:6
35 error: unresolved link to `std::io::Error::x`
36 --> $DIR/intra-link-errors.rs:24:6
37 >>>>>>> Add `unclosed_html_tags` lint
39 LL | /// [type@std::io::not::here]
40 | ^^^^^^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
42 error: unresolved link to `std::io::Error::x`
43 --> $DIR/intra-link-errors.rs:27:6
45 LL | /// [std::io::Error::x]
46 | ^^^^^^^^^^^^^^^^^ the struct `Error` has no field or associated item named `x`
48 error: unresolved link to `std::io::ErrorKind::x`
50 --> $DIR/intra-link-errors.rs:31:6
52 --> $DIR/intra-link-errors.rs:28:6
53 >>>>>>> Add `unclosed_html_tags` lint
55 LL | /// [std::io::ErrorKind::x]
56 | ^^^^^^^^^^^^^^^^^^^^^ the enum `ErrorKind` has no variant or associated item named `x`
58 error: unresolved link to `f::A`
60 --> $DIR/intra-link-errors.rs:35:6
62 --> $DIR/intra-link-errors.rs:32:6
63 >>>>>>> Add `unclosed_html_tags` lint
66 | ^^^^ `f` is a function, not a module or type, and cannot have associated items
68 error: unresolved link to `f::A`
69 --> $DIR/intra-link-errors.rs:39:6
72 | ^^^^^ `f` is a function, not a module or type, and cannot have associated items
74 error: unresolved link to `S::A`
76 --> $DIR/intra-link-errors.rs:43:6
78 --> $DIR/intra-link-errors.rs:36:6
79 >>>>>>> Add `unclosed_html_tags` lint
82 | ^^^^ the struct `S` has no field or associated item named `A`
84 error: unresolved link to `S::fmt`
86 --> $DIR/intra-link-errors.rs:47:6
88 --> $DIR/intra-link-errors.rs:40:6
89 >>>>>>> Add `unclosed_html_tags` lint
92 | ^^^^^^ the struct `S` has no field or associated item named `fmt`
94 error: unresolved link to `E::D`
96 --> $DIR/intra-link-errors.rs:51:6
98 --> $DIR/intra-link-errors.rs:44:6
99 >>>>>>> Add `unclosed_html_tags` lint
102 | ^^^^ the enum `E` has no variant or associated item named `D`
104 error: unresolved link to `u8::not_found`
106 --> $DIR/intra-link-errors.rs:55:6
108 --> $DIR/intra-link-errors.rs:48:6
109 >>>>>>> Add `unclosed_html_tags` lint
111 LL | /// [u8::not_found]
112 | ^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
114 error: unresolved link to `std::primitive::u8::not_found`
115 --> $DIR/intra-link-errors.rs:59:6
117 LL | /// [std::primitive::u8::not_found]
118 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
120 error: unresolved link to `Vec::into_iter`
121 --> $DIR/intra-link-errors.rs:63:6
123 LL | /// [type@Vec::into_iter]
124 | ^^^^^^^^^^^^^^^^^^^
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()`
129 error: unresolved link to `S`
131 --> $DIR/intra-link-errors.rs:68:6
133 --> $DIR/intra-link-errors.rs:52:6
134 >>>>>>> Add `unclosed_html_tags` lint
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`
142 error: unresolved link to `T::g`
144 --> $DIR/intra-link-errors.rs:86:6
146 --> $DIR/intra-link-errors.rs:70:6
147 >>>>>>> Add `unclosed_html_tags` lint
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()`
155 error: unresolved link to `T::h`
157 --> $DIR/intra-link-errors.rs:91:6
159 --> $DIR/intra-link-errors.rs:75:6
160 >>>>>>> Add `unclosed_html_tags` lint
163 | ^^^^^ the trait `T` has no macro named `h`
165 error: unresolved link to `S::h`
167 --> $DIR/intra-link-errors.rs:78:6
169 --> $DIR/intra-link-errors.rs:62:6
170 >>>>>>> Add `unclosed_html_tags` lint
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()`
178 error: unresolved link to `m`
180 --> $DIR/intra-link-errors.rs:98:6
182 --> $DIR/intra-link-errors.rs:82:6
183 >>>>>>> Add `unclosed_html_tags` lint
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!`
191 error: aborting due to 20 previous errors