2020-08-21 01:15:32 +00:00
|
|
|
error: unresolved link to `std::io::oops`
|
|
|
|
--> $DIR/intra-link-errors.rs:4:6
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
2020-08-21 01:15:32 +00:00
|
|
|
LL | //! [std::io::oops]
|
|
|
|
| ^^^^^^^^^^^^^
|
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 01:15:32 +00:00
|
|
|
= note: this link resolves to the crate `std`, which is not an enum
|
|
|
|
= note: if this were an enum, it might have a variant which resolved
|
|
|
|
= note: this link partially resolves to the module `io`
|
|
|
|
= note: `io` has no field, variant, or associated item named `oops`
|
|
|
|
|
|
|
|
error: unresolved link to `std::io::oops::not::here`
|
|
|
|
--> $DIR/intra-link-errors.rs:5:6
|
|
|
|
|
|
|
|
|
LL | //! [std::io::oops::not::here]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: no item named `std::io::oops::not` is in scope
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
|
|
|
|
|
|
error: unresolved link to `path::to::nonexistent::module`
|
|
|
|
--> $DIR/intra-link-errors.rs:11:6
|
|
|
|
|
|
|
|
|
LL | /// [path::to::nonexistent::module]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-08-20 15:41:18 +00:00
|
|
|
= note: no item named `path::to::nonexistent` is in scope
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
|
|
|
|
|
|
error: unresolved link to `f::A`
|
2020-08-21 01:15:32 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:17:6
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
|
LL | /// [f::A]
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
= note: no item named `f` is in scope
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
|
|
|
|
|
|
error: unresolved link to `S::A`
|
2020-08-21 01:15:32 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:22: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-20 15:41:18 +00:00
|
|
|
= note: `S` has no field, variant, or associated item named `A`
|
|
|
|
|
|
|
|
error: unresolved link to `S::fmt`
|
2020-08-21 01:15:32 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:27: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-20 15:41:18 +00:00
|
|
|
= note: `S` has no field, variant, or associated item named `fmt`
|
|
|
|
|
|
|
|
error: unresolved link to `E::D`
|
2020-08-21 01:15:32 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:32: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-20 15:41:18 +00:00
|
|
|
= note: `E` has no field, variant, or associated item named `D`
|
|
|
|
|
|
|
|
error: unresolved link to `u8::not_found`
|
2020-08-21 01:15:32 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:37: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 01:15:32 +00:00
|
|
|
--> $DIR/intra-link-errors.rs:41:6
|
2020-08-20 15:41:18 +00:00
|
|
|
|
|
|
|
|
LL | /// [S!]
|
|
|
|
| ^^ help: to link to the unit struct, use its disambiguator: `value@S`
|
|
|
|
|
|
2020-08-21 01:15:32 +00:00
|
|
|
= note: this link resolves to the unit struct `S`, which is not in the macro namespace
|
|
|
|
|
|
|
|
error: unresolved link to `T::g`
|
|
|
|
--> $DIR/intra-link-errors.rs:56:6
|
|
|
|
|
|
|
|
|
LL | /// [type@T::g]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this link partially resolves to the trait `T`
|
|
|
|
= note: `T` has no field, variant, or associated item named `g`
|
|
|
|
|
|
|
|
error: unresolved link to `S::h`
|
|
|
|
--> $DIR/intra-link-errors.rs:51:6
|
|
|
|
|
|
|
|
|
LL | /// [type@S::h]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this link partially resolves to the struct `S`
|
|
|
|
= note: `S` has no field, variant, or associated item named `h`
|
2020-08-20 15:41:18 +00:00
|
|
|
|
2020-08-21 01:15:32 +00:00
|
|
|
error: aborting due to 11 previous errors
|
2020-08-20 15:41:18 +00:00
|
|
|
|