2020-08-21 03:14:41 +00:00
|
|
|
error: unresolved link to `path::to::nonexistent::module`
|
|
|
|
--> $DIR/intra-link-errors.rs:8:6
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
2020-08-21 03:14:41 +00:00
|
|
|
LL | /// [path::to::nonexistent::module]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/intra-link-errors.rs:1:9
|
|
|
|
|
|
|
|
|
LL | #![deny(broken_intra_doc_links)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2020-08-21 04:23:23 +00:00
|
|
|
= note: no item named `path::to` is in scope
|
2020-08-20 15:41:18 +00:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
|
|
|
|
|
|
error: unresolved link to `f::A`
|
2020-08-21 03:14:41 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:14:6
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
|
LL | /// [f::A]
|
|
|
|
| ^^^^
|
|
|
|
|
|
2020-08-21 04:23:23 +00:00
|
|
|
= note: this link partially resolves to the function `f`
|
|
|
|
= note: `f` is a function, not a module or type, and cannot have associated items
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
error: unresolved link to `S::A`
|
2020-08-21 03:14:41 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:19:6
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
|
LL | /// [S::A]
|
|
|
|
| ^^^^
|
|
|
|
|
|
2020-08-21 01:15:32 +00:00
|
|
|
= note: this link partially resolves to the struct `S`
|
2020-08-21 03:14:41 +00:00
|
|
|
= note: no `A` in `S`
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
error: unresolved link to `S::fmt`
|
2020-08-21 03:14:41 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:24:6
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
|
LL | /// [S::fmt]
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2020-08-21 01:15:32 +00:00
|
|
|
= note: this link partially resolves to the struct `S`
|
2020-08-21 03:14:41 +00:00
|
|
|
= note: no `fmt` in `S`
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
error: unresolved link to `E::D`
|
2020-08-21 03:14:41 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:29:6
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
|
LL | /// [E::D]
|
|
|
|
| ^^^^
|
|
|
|
|
|
2020-08-21 01:15:32 +00:00
|
|
|
= note: this link partially resolves to the enum `E`
|
2020-08-21 03:14:41 +00:00
|
|
|
= note: no `D` in `E`
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
error: unresolved link to `u8::not_found`
|
2020-08-21 03:14:41 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:34:6
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
|
LL | /// [u8::not_found]
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: the builtin type `u8` does not have an associated item named `not_found`
|
|
|
|
|
|
|
|
error: unresolved link to `S`
|
2020-08-21 03:14:41 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:38:6
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
|
LL | /// [S!]
|
2020-08-21 03:05:47 +00:00
|
|
|
| ^^ help: to link to the struct, use its disambiguator: `struct@S`
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
2020-08-21 03:05:47 +00:00
|
|
|
= note: this link resolves to the struct `S`, which is not in the macro namespace
|
2020-08-21 01:15:32 +00:00
|
|
|
|
|
|
|
error: unresolved link to `T::g`
|
2020-08-21 03:14:41 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:56:6
|
2020-08-21 01:15:32 +00:00
|
|
|
|
|
|
|
|
LL | /// [type@T::g]
|
2020-08-21 03:05:47 +00:00
|
|
|
| ^^^^^^^^^ help: to link to the associated function, use its disambiguator: `T::g()`
|
2020-08-21 01:15:32 +00:00
|
|
|
|
|
2020-08-21 03:05:47 +00:00
|
|
|
= note: this link resolves to the associated function `g`, which is not in the type namespace
|
|
|
|
|
|
|
|
error: unresolved link to `T::h`
|
2020-08-21 03:14:41 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:61:6
|
2020-08-21 03:05:47 +00:00
|
|
|
|
|
|
|
|
LL | /// [T::h!]
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= note: no item named `T::h` is in scope
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2020-08-21 01:15:32 +00:00
|
|
|
|
|
|
|
error: unresolved link to `S::h`
|
2020-08-21 03:14:41 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:48:6
|
2020-08-21 01:15:32 +00:00
|
|
|
|
|
|
|
|
LL | /// [type@S::h]
|
2020-08-21 03:05:47 +00:00
|
|
|
| ^^^^^^^^^ help: to link to the associated function, use its disambiguator: `S::h()`
|
2020-08-21 01:15:32 +00:00
|
|
|
|
|
2020-08-21 03:05:47 +00:00
|
|
|
= note: this link resolves to the associated function `h`, which is not in the type namespace
|
2020-08-20 15:41:18 +00:00
|
|
|
|
2020-08-21 03:14:41 +00:00
|
|
|
error: aborting due to 10 previous errors
|
2020-08-20 15:41:18 +00:00
|
|
|
|