1- error: unresolved link to `std::io::oops `
2- --> $DIR/intra-link-errors.rs:4 :6
1+ error: unresolved link to `path::to::nonexistent::module `
2+ --> $DIR/intra-link-errors.rs:8 :6
33 |
4- LL | //! [std::io::oops ]
5- | ^^^^^^^^^^^^^
4+ LL | /// [path::to::nonexistent::module ]
5+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66 |
77note: the lint level is defined here
88 --> $DIR/intra-link-errors.rs:1:9
99 |
1010LL | #![deny(broken_intra_doc_links)]
1111 | ^^^^^^^^^^^^^^^^^^^^^^
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`
16-
17- error: unresolved link to `std::io::oops::not::here`
18- --> $DIR/intra-link-errors.rs:5:6
19- |
20- LL | //! [std::io::oops::not::here]
21- | ^^^^^^^^^^^^^^^^^^^^^^^^
22- |
23- = note: no item named `std::io::oops::not` is in scope
24- = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
25-
26- error: unresolved link to `path::to::nonexistent::module`
27- --> $DIR/intra-link-errors.rs:11:6
28- |
29- LL | /// [path::to::nonexistent::module]
30- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31- |
3212 = note: no item named `path::to::nonexistent` is in scope
3313 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
3414
3515error: unresolved link to `f::A`
36- --> $DIR/intra-link-errors.rs:17 :6
16+ --> $DIR/intra-link-errors.rs:14 :6
3717 |
3818LL | /// [f::A]
3919 | ^^^^
@@ -42,58 +22,58 @@ LL | /// [f::A]
4222 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
4323
4424error: unresolved link to `S::A`
45- --> $DIR/intra-link-errors.rs:22 :6
25+ --> $DIR/intra-link-errors.rs:19 :6
4626 |
4727LL | /// [S::A]
4828 | ^^^^
4929 |
5030 = note: this link partially resolves to the struct `S`
51- = note: `S` has no field, variant, or associated item named `A `
31+ = note: no `A` in `S `
5232
5333error: unresolved link to `S::fmt`
54- --> $DIR/intra-link-errors.rs:27 :6
34+ --> $DIR/intra-link-errors.rs:24 :6
5535 |
5636LL | /// [S::fmt]
5737 | ^^^^^^
5838 |
5939 = note: this link partially resolves to the struct `S`
60- = note: `S` has no field, variant, or associated item named `fmt `
40+ = note: no `fmt` in `S `
6141
6242error: unresolved link to `E::D`
63- --> $DIR/intra-link-errors.rs:32 :6
43+ --> $DIR/intra-link-errors.rs:29 :6
6444 |
6545LL | /// [E::D]
6646 | ^^^^
6747 |
6848 = note: this link partially resolves to the enum `E`
69- = note: `E` has no field, variant, or associated item named `D `
49+ = note: no `D` in `E `
7050
7151error: unresolved link to `u8::not_found`
72- --> $DIR/intra-link-errors.rs:37 :6
52+ --> $DIR/intra-link-errors.rs:34 :6
7353 |
7454LL | /// [u8::not_found]
7555 | ^^^^^^^^^^^^^
7656 |
7757 = note: the builtin type `u8` does not have an associated item named `not_found`
7858
7959error: unresolved link to `S`
80- --> $DIR/intra-link-errors.rs:41 :6
60+ --> $DIR/intra-link-errors.rs:38 :6
8161 |
8262LL | /// [S!]
8363 | ^^ help: to link to the struct, use its disambiguator: `struct@S`
8464 |
8565 = note: this link resolves to the struct `S`, which is not in the macro namespace
8666
8767error: unresolved link to `T::g`
88- --> $DIR/intra-link-errors.rs:59 :6
68+ --> $DIR/intra-link-errors.rs:56 :6
8969 |
9070LL | /// [type@T::g]
9171 | ^^^^^^^^^ help: to link to the associated function, use its disambiguator: `T::g()`
9272 |
9373 = note: this link resolves to the associated function `g`, which is not in the type namespace
9474
9575error: unresolved link to `T::h`
96- --> $DIR/intra-link-errors.rs:64 :6
76+ --> $DIR/intra-link-errors.rs:61 :6
9777 |
9878LL | /// [T::h!]
9979 | ^^^^^
@@ -102,12 +82,12 @@ LL | /// [T::h!]
10282 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
10383
10484error: unresolved link to `S::h`
105- --> $DIR/intra-link-errors.rs:51 :6
85+ --> $DIR/intra-link-errors.rs:48 :6
10686 |
10787LL | /// [type@S::h]
10888 | ^^^^^^^^^ help: to link to the associated function, use its disambiguator: `S::h()`
10989 |
11090 = note: this link resolves to the associated function `h`, which is not in the type namespace
11191
112- error: aborting due to 12 previous errors
92+ error: aborting due to 10 previous errors
11393
0 commit comments