@@ -10,74 +10,73 @@ note: the lint level is defined here
1010LL | #![deny(broken_intra_doc_links)]
1111 | ^^^^^^^^^^^^^^^^^^^^^^
1212 = note: no item named `path` is in scope
13- = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
1413
1514error: unresolved link to `std::io::not::here`
16- --> $DIR/intra-link-errors.rs:13 :6
15+ --> $DIR/intra-link-errors.rs:12 :6
1716 |
1817LL | /// [std::io::not::here]
1918 | ^^^^^^^^^^^^^^^^^^
2019 |
2120 = note: the module `io` has no inner item named `not`
2221
2322error: unresolved link to `std::io::Error::x`
24- --> $DIR/intra-link-errors.rs:17 :6
23+ --> $DIR/intra-link-errors.rs:16 :6
2524 |
2625LL | /// [std::io::Error::x]
2726 | ^^^^^^^^^^^^^^^^^
2827 |
2928 = note: the struct `Error` has no field or associated item named `x`
3029
3130error: unresolved link to `std::io::ErrorKind::x`
32- --> $DIR/intra-link-errors.rs:21 :6
31+ --> $DIR/intra-link-errors.rs:20 :6
3332 |
3433LL | /// [std::io::ErrorKind::x]
3534 | ^^^^^^^^^^^^^^^^^^^^^
3635 |
3736 = note: the enum `ErrorKind` has no variant or associated item named `x`
3837
3938error: unresolved link to `f::A`
40- --> $DIR/intra-link-errors.rs:25 :6
39+ --> $DIR/intra-link-errors.rs:24 :6
4140 |
4241LL | /// [f::A]
4342 | ^^^^
4443 |
4544 = note: `f` is a function, not a module or type, and cannot have associated items
4645
4746error: unresolved link to `S::A`
48- --> $DIR/intra-link-errors.rs:29 :6
47+ --> $DIR/intra-link-errors.rs:28 :6
4948 |
5049LL | /// [S::A]
5150 | ^^^^
5251 |
5352 = note: the struct `S` has no field or associated item named `A`
5453
5554error: unresolved link to `S::fmt`
56- --> $DIR/intra-link-errors.rs:33 :6
55+ --> $DIR/intra-link-errors.rs:32 :6
5756 |
5857LL | /// [S::fmt]
5958 | ^^^^^^
6059 |
6160 = note: the struct `S` has no field or associated item named `fmt`
6261
6362error: unresolved link to `E::D`
64- --> $DIR/intra-link-errors.rs:37 :6
63+ --> $DIR/intra-link-errors.rs:36 :6
6564 |
6665LL | /// [E::D]
6766 | ^^^^
6867 |
6968 = note: the enum `E` has no variant or associated item named `D`
7069
7170error: unresolved link to `u8::not_found`
72- --> $DIR/intra-link-errors.rs:41 :6
71+ --> $DIR/intra-link-errors.rs:40 :6
7372 |
7473LL | /// [u8::not_found]
7574 | ^^^^^^^^^^^^^
7675 |
7776 = note: the builtin type `u8` does not have an associated item named `not_found`
7877
7978error: unresolved link to `S`
80- --> $DIR/intra-link-errors.rs:45 :6
79+ --> $DIR/intra-link-errors.rs:44 :6
8180 |
8281LL | /// [S!]
8382 | ^^
@@ -89,32 +88,31 @@ LL | /// [struct@S]
8988 | ^^^^^^^^
9089
9190error: unresolved link to `T::g`
92- --> $DIR/intra-link-errors.rs:63 :6
91+ --> $DIR/intra-link-errors.rs:62 :6
9392 |
9493LL | /// [type@T::g]
9594 | ^^^^^^^^^ help: to link to the associated function, add parentheses: `T::g()`
9695 |
9796 = note: this link resolves to the associated function `g`, which is not in the type namespace
9897
9998error: unresolved link to `T::h`
100- --> $DIR/intra-link-errors.rs:68 :6
99+ --> $DIR/intra-link-errors.rs:67 :6
101100 |
102101LL | /// [T::h!]
103102 | ^^^^^
104103 |
105104 = note: no item named `T::h` is in scope
106- = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
107105
108106error: unresolved link to `S::h`
109- --> $DIR/intra-link-errors.rs:55 :6
107+ --> $DIR/intra-link-errors.rs:54 :6
110108 |
111109LL | /// [type@S::h]
112110 | ^^^^^^^^^ help: to link to the associated function, add parentheses: `S::h()`
113111 |
114112 = note: this link resolves to the associated function `h`, which is not in the type namespace
115113
116114error: unresolved link to `m`
117- --> $DIR/intra-link-errors.rs:76 :6
115+ --> $DIR/intra-link-errors.rs:74 :6
118116 |
119117LL | /// [m()]
120118 | ^^^ help: to link to the macro, add an exclamation mark: `m!`
0 commit comments