11error: unresolved link to `path::to::nonexistent::module`
2- --> $DIR/intra-link-errors.rs:8 :6
2+ --> $DIR/intra-link-errors.rs:7 :6
33 |
44LL | /// [path::to::nonexistent::module]
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
66 |
77note: the lint level is defined here
8- --> $DIR/intra-link-errors.rs:2 :9
8+ --> $DIR/intra-link-errors.rs:1 :9
99 |
1010LL | #![deny(broken_intra_doc_links)]
1111 | ^^^^^^^^^^^^^^^^^^^^^^
1212
1313error: unresolved link to `path::to::nonexistent::macro`
14- --> $DIR/intra-link-errors.rs:12 :6
14+ --> $DIR/intra-link-errors.rs:11 :6
1515 |
1616LL | /// [path::to::nonexistent::macro!]
1717 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
1818
1919error: unresolved link to `path::to::nonexistent::type`
20- --> $DIR/intra-link-errors.rs:16 :6
20+ --> $DIR/intra-link-errors.rs:15 :6
2121 |
2222LL | /// [type@path::to::nonexistent::type]
2323 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
2424
2525error: unresolved link to `std::io::not::here`
26- --> $DIR/intra-link-errors.rs:20 :6
26+ --> $DIR/intra-link-errors.rs:19 :6
2727 |
2828LL | /// [std::io::not::here]
2929 | ^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
3030
3131error: unresolved link to `std::io::not::here`
32- --> $DIR/intra-link-errors.rs:24 :6
32+ --> $DIR/intra-link-errors.rs:23 :6
3333 |
3434LL | /// [type@std::io::not::here]
3535 | ^^^^^^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
3636
3737error: unresolved link to `std::io::Error::x`
38- --> $DIR/intra-link-errors.rs:28 :6
38+ --> $DIR/intra-link-errors.rs:27 :6
3939 |
4040LL | /// [std::io::Error::x]
4141 | ^^^^^^^^^^^^^^^^^ the struct `Error` has no field or associated item named `x`
4242
4343error: unresolved link to `std::io::ErrorKind::x`
44- --> $DIR/intra-link-errors.rs:32 :6
44+ --> $DIR/intra-link-errors.rs:31 :6
4545 |
4646LL | /// [std::io::ErrorKind::x]
4747 | ^^^^^^^^^^^^^^^^^^^^^ the enum `ErrorKind` has no variant or associated item named `x`
4848
4949error: unresolved link to `f::A`
50- --> $DIR/intra-link-errors.rs:36 :6
50+ --> $DIR/intra-link-errors.rs:35 :6
5151 |
5252LL | /// [f::A]
5353 | ^^^^ `f` is a function, not a module or type, and cannot have associated items
5454
5555error: unresolved link to `f::A`
56- --> $DIR/intra-link-errors.rs:40 :6
56+ --> $DIR/intra-link-errors.rs:39 :6
5757 |
5858LL | /// [f::A!]
5959 | ^^^^^ `f` is a function, not a module or type, and cannot have associated items
6060
6161error: unresolved link to `S::A`
62- --> $DIR/intra-link-errors.rs:44 :6
62+ --> $DIR/intra-link-errors.rs:43 :6
6363 |
6464LL | /// [S::A]
6565 | ^^^^ the struct `S` has no field or associated item named `A`
6666
6767error: unresolved link to `S::fmt`
68- --> $DIR/intra-link-errors.rs:48 :6
68+ --> $DIR/intra-link-errors.rs:47 :6
6969 |
7070LL | /// [S::fmt]
7171 | ^^^^^^ the struct `S` has no field or associated item named `fmt`
7272
7373error: unresolved link to `E::D`
74- --> $DIR/intra-link-errors.rs:52 :6
74+ --> $DIR/intra-link-errors.rs:51 :6
7575 |
7676LL | /// [E::D]
7777 | ^^^^ the enum `E` has no variant or associated item named `D`
7878
7979error: unresolved link to `u8::not_found`
80- --> $DIR/intra-link-errors.rs:56 :6
80+ --> $DIR/intra-link-errors.rs:55 :6
8181 |
8282LL | /// [u8::not_found]
8383 | ^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
8484
8585error: unresolved link to `std::primitive::u8::not_found`
86- --> $DIR/intra-link-errors.rs:60 :6
86+ --> $DIR/intra-link-errors.rs:59 :6
8787 |
8888LL | /// [std::primitive::u8::not_found]
8989 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
9090
9191error: unresolved link to `Vec::into_iter`
92- --> $DIR/intra-link-errors.rs:64 :6
92+ --> $DIR/intra-link-errors.rs:63 :6
9393 |
9494LL | /// [type@Vec::into_iter]
9595 | ^^^^^^^^^^^^^^^^^^^
@@ -98,7 +98,7 @@ LL | /// [type@Vec::into_iter]
9898 | help: to link to the associated function, add parentheses: `Vec::into_iter()`
9999
100100error: unresolved link to `S`
101- --> $DIR/intra-link-errors.rs:69 :6
101+ --> $DIR/intra-link-errors.rs:68 :6
102102 |
103103LL | /// [S!]
104104 | ^^
@@ -107,7 +107,7 @@ LL | /// [S!]
107107 | help: to link to the struct, prefix with `struct@`: `struct@S`
108108
109109error: unresolved link to `T::g`
110- --> $DIR/intra-link-errors.rs:87 :6
110+ --> $DIR/intra-link-errors.rs:86 :6
111111 |
112112LL | /// [type@T::g]
113113 | ^^^^^^^^^
@@ -116,13 +116,13 @@ LL | /// [type@T::g]
116116 | help: to link to the associated function, add parentheses: `T::g()`
117117
118118error: unresolved link to `T::h`
119- --> $DIR/intra-link-errors.rs:92 :6
119+ --> $DIR/intra-link-errors.rs:91 :6
120120 |
121121LL | /// [T::h!]
122122 | ^^^^^ the trait `T` has no macro named `h`
123123
124124error: unresolved link to `S::h`
125- --> $DIR/intra-link-errors.rs:79 :6
125+ --> $DIR/intra-link-errors.rs:78 :6
126126 |
127127LL | /// [type@S::h]
128128 | ^^^^^^^^^
@@ -131,7 +131,7 @@ LL | /// [type@S::h]
131131 | help: to link to the associated function, add parentheses: `S::h()`
132132
133133error: unresolved link to `m`
134- --> $DIR/intra-link-errors.rs:99 :6
134+ --> $DIR/intra-link-errors.rs:98 :6
135135 |
136136LL | /// [m()]
137137 | ^^^
0 commit comments