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`
31 error: unresolved link to `std::io::not::here`
32 --> $DIR/intra-link-errors.rs:24:6
34 LL | /// [type@std::io::not::here]
35 | ^^^^^^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
37 error: unresolved link to `std::io::Error::x`
38 --> $DIR/intra-link-errors.rs:28:6
40 LL | /// [std::io::Error::x]
41 | ^^^^^^^^^^^^^^^^^ the struct `Error` has no field or associated item named `x`
43 error: unresolved link to `std::io::ErrorKind::x`
44 --> $DIR/intra-link-errors.rs:32:6
46 LL | /// [std::io::ErrorKind::x]
47 | ^^^^^^^^^^^^^^^^^^^^^ the enum `ErrorKind` has no variant or associated item named `x`
49 error: unresolved link to `f::A`
50 --> $DIR/intra-link-errors.rs:36:6
53 | ^^^^ `f` is a function, not a module or type, and cannot have associated items
55 error: unresolved link to `f::A`
56 --> $DIR/intra-link-errors.rs:40:6
59 | ^^^^^ `f` is a function, not a module or type, and cannot have associated items
61 error: unresolved link to `S::A`
62 --> $DIR/intra-link-errors.rs:44:6
65 | ^^^^ the struct `S` has no field or associated item named `A`
67 error: unresolved link to `S::fmt`
68 --> $DIR/intra-link-errors.rs:48:6
71 | ^^^^^^ the struct `S` has no field or associated item named `fmt`
73 error: unresolved link to `E::D`
74 --> $DIR/intra-link-errors.rs:52:6
77 | ^^^^ the enum `E` has no variant or associated item named `D`
79 error: unresolved link to `u8::not_found`
80 --> $DIR/intra-link-errors.rs:56:6
82 LL | /// [u8::not_found]
83 | ^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
85 error: unresolved link to `std::primitive::u8::not_found`
86 --> $DIR/intra-link-errors.rs:60:6
88 LL | /// [std::primitive::u8::not_found]
89 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
91 error: unresolved link to `Vec::into_iter`
92 --> $DIR/intra-link-errors.rs:64:6
94 LL | /// [type@Vec::into_iter]
97 | this link resolves to the associated function `into_iter`, which is not in the type namespace
98 | help: to link to the associated function, add parentheses: `Vec::into_iter()`
100 error: unresolved link to `S`
101 --> $DIR/intra-link-errors.rs:69:6
106 | this link resolves to the struct `S`, which is not in the macro namespace
107 | help: to link to the struct, prefix with `struct@`: `struct@S`
109 error: unresolved link to `T::g`
110 --> $DIR/intra-link-errors.rs:87:6
115 | this link resolves to the associated function `g`, which is not in the type namespace
116 | help: to link to the associated function, add parentheses: `T::g()`
118 error: unresolved link to `T::h`
119 --> $DIR/intra-link-errors.rs:92:6
122 | ^^^^^ the trait `T` has no macro named `h`
124 error: unresolved link to `S::h`
125 --> $DIR/intra-link-errors.rs:79:6
130 | this link resolves to the associated function `h`, which is not in the type namespace
131 | help: to link to the associated function, add parentheses: `S::h()`
133 error: unresolved link to `m`
134 --> $DIR/intra-link-errors.rs:99:6
139 | this link resolves to the macro `m`, which is not in the value namespace
140 | help: to link to the macro, add an exclamation mark: `m!`
142 error: aborting due to 20 previous errors