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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -12,103 +12,103 @@ LL | #![deny(broken_intra_doc_links)]
1212 = note: no item named `path` is in scope
1313
1414error: unresolved link to `std::io::not::here`
15- --> $DIR/intra-link-errors.rs:12 :6
15+ --> $DIR/intra-link-errors.rs:11 :6
1616 |
1717LL | /// [std::io::not::here]
1818 | ^^^^^^^^^^^^^^^^^^
1919 |
2020 = note: the module `io` has no inner item named `not`
2121
2222error: unresolved link to `std::io::Error::x`
23- --> $DIR/intra-link-errors.rs:16 :6
23+ --> $DIR/intra-link-errors.rs:15 :6
2424 |
2525LL | /// [std::io::Error::x]
2626 | ^^^^^^^^^^^^^^^^^
2727 |
2828 = note: the struct `Error` has no field or associated item named `x`
2929
3030error: unresolved link to `std::io::ErrorKind::x`
31- --> $DIR/intra-link-errors.rs:20 :6
31+ --> $DIR/intra-link-errors.rs:19 :6
3232 |
3333LL | /// [std::io::ErrorKind::x]
3434 | ^^^^^^^^^^^^^^^^^^^^^
3535 |
3636 = note: the enum `ErrorKind` has no variant or associated item named `x`
3737
3838error: unresolved link to `f::A`
39- --> $DIR/intra-link-errors.rs:24 :6
39+ --> $DIR/intra-link-errors.rs:23 :6
4040 |
4141LL | /// [f::A]
4242 | ^^^^
4343 |
4444 = note: `f` is a function, not a module or type, and cannot have associated items
4545
4646error: unresolved link to `S::A`
47- --> $DIR/intra-link-errors.rs:28 :6
47+ --> $DIR/intra-link-errors.rs:27 :6
4848 |
4949LL | /// [S::A]
5050 | ^^^^
5151 |
5252 = note: the struct `S` has no field or associated item named `A`
5353
5454error: unresolved link to `S::fmt`
55- --> $DIR/intra-link-errors.rs:32 :6
55+ --> $DIR/intra-link-errors.rs:31 :6
5656 |
5757LL | /// [S::fmt]
5858 | ^^^^^^
5959 |
6060 = note: the struct `S` has no field or associated item named `fmt`
6161
6262error: unresolved link to `E::D`
63- --> $DIR/intra-link-errors.rs:36 :6
63+ --> $DIR/intra-link-errors.rs:35 :6
6464 |
6565LL | /// [E::D]
6666 | ^^^^
6767 |
6868 = note: the enum `E` has no variant or associated item named `D`
6969
7070error: unresolved link to `u8::not_found`
71- --> $DIR/intra-link-errors.rs:40 :6
71+ --> $DIR/intra-link-errors.rs:39 :6
7272 |
7373LL | /// [u8::not_found]
7474 | ^^^^^^^^^^^^^
7575 |
7676 = note: the builtin type `u8` does not have an associated item named `not_found`
7777
7878error: unresolved link to `S`
79- --> $DIR/intra-link-errors.rs:44 :6
79+ --> $DIR/intra-link-errors.rs:43 :6
8080 |
8181LL | /// [S!]
8282 | ^^ help: to link to the struct, prefix with `struct@`: `struct@S`
8383 |
8484 = note: this link resolves to the struct `S`, which is not in the macro namespace
8585
8686error: unresolved link to `T::g`
87- --> $DIR/intra-link-errors.rs:62 :6
87+ --> $DIR/intra-link-errors.rs:61 :6
8888 |
8989LL | /// [type@T::g]
9090 | ^^^^^^^^^ help: to link to the associated function, add parentheses: `T::g()`
9191 |
9292 = note: this link resolves to the associated function `g`, which is not in the type namespace
9393
9494error: unresolved link to `T::h`
95- --> $DIR/intra-link-errors.rs:67 :6
95+ --> $DIR/intra-link-errors.rs:66 :6
9696 |
9797LL | /// [T::h!]
9898 | ^^^^^
9999 |
100100 = note: the trait `T` has no macro named `h`
101101
102102error: unresolved link to `S::h`
103- --> $DIR/intra-link-errors.rs:54 :6
103+ --> $DIR/intra-link-errors.rs:53 :6
104104 |
105105LL | /// [type@S::h]
106106 | ^^^^^^^^^ help: to link to the associated function, add parentheses: `S::h()`
107107 |
108108 = note: this link resolves to the associated function `h`, which is not in the type namespace
109109
110110error: unresolved link to `m`
111- --> $DIR/intra-link-errors.rs:74 :6
111+ --> $DIR/intra-link-errors.rs:73 :6
112112 |
113113LL | /// [m()]
114114 | ^^^ help: to link to the macro, add an exclamation mark: `m!`
0 commit comments