1 error: unresolved link to `std::io::oops`
2 --> $DIR/intra-link-errors.rs:4:6
4 LL | //! [std::io::oops]
7 note: the lint level is defined here
8 --> $DIR/intra-link-errors.rs:1:9
10 LL | #![deny(broken_intra_doc_links)]
11 | ^^^^^^^^^^^^^^^^^^^^^^
12 = note: this link resolves to the crate `std`, which is not an enum
13 = note: if this were an enum, it might have a variant which resolved
14 = note: this link partially resolves to the module `io`
15 = note: `io` has no field, variant, or associated item named `oops`
17 error: unresolved link to `std::io::oops::not::here`
18 --> $DIR/intra-link-errors.rs:5:6
20 LL | //! [std::io::oops::not::here]
21 | ^^^^^^^^^^^^^^^^^^^^^^^^
23 = note: no item named `std::io::oops::not` is in scope
24 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
26 error: unresolved link to `path::to::nonexistent::module`
27 --> $DIR/intra-link-errors.rs:11:6
29 LL | /// [path::to::nonexistent::module]
30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32 = note: no item named `path::to::nonexistent` is in scope
33 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
35 error: unresolved link to `f::A`
36 --> $DIR/intra-link-errors.rs:17:6
41 = note: no item named `f` is in scope
42 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
44 error: unresolved link to `S::A`
45 --> $DIR/intra-link-errors.rs:22:6
50 = note: this link partially resolves to the struct `S`
51 = note: `S` has no field, variant, or associated item named `A`
53 error: unresolved link to `S::fmt`
54 --> $DIR/intra-link-errors.rs:27:6
59 = note: this link partially resolves to the struct `S`
60 = note: `S` has no field, variant, or associated item named `fmt`
62 error: unresolved link to `E::D`
63 --> $DIR/intra-link-errors.rs:32:6
68 = note: this link partially resolves to the enum `E`
69 = note: `E` has no field, variant, or associated item named `D`
71 error: unresolved link to `u8::not_found`
72 --> $DIR/intra-link-errors.rs:37:6
74 LL | /// [u8::not_found]
77 = note: the builtin type `u8` does not have an associated item named `not_found`
79 error: unresolved link to `S`
80 --> $DIR/intra-link-errors.rs:41:6
83 | ^^ help: to link to the struct, use its disambiguator: `struct@S`
85 = note: this link resolves to the struct `S`, which is not in the macro namespace
87 error: unresolved link to `T::g`
88 --> $DIR/intra-link-errors.rs:59:6
91 | ^^^^^^^^^ help: to link to the associated function, use its disambiguator: `T::g()`
93 = note: this link resolves to the associated function `g`, which is not in the type namespace
95 error: unresolved link to `T::h`
96 --> $DIR/intra-link-errors.rs:64:6
101 = note: no item named `T::h` is in scope
102 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
104 error: unresolved link to `S::h`
105 --> $DIR/intra-link-errors.rs:51:6
108 | ^^^^^^^^^ help: to link to the associated function, use its disambiguator: `S::h()`
110 = note: this link resolves to the associated function `h`, which is not in the type namespace
112 error: aborting due to 12 previous errors