2020-08-20 22:14:41 -05:00
|
|
|
error: unresolved link to `path::to::nonexistent::module`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:7:6
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
2020-08-20 22:14:41 -05:00
|
|
|
LL | /// [path::to::nonexistent::module]
|
2020-10-02 21:53:09 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `path` in scope
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:1:9
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
2020-12-29 22:16:16 -06:00
|
|
|
LL | #![deny(rustdoc::broken_intra_doc_links)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-08-20 10:41:18 -05:00
|
|
|
|
2020-08-31 22:28:38 -05:00
|
|
|
error: unresolved link to `path::to::nonexistent::macro`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:11:6
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
2020-08-31 22:28:38 -05:00
|
|
|
LL | /// [path::to::nonexistent::macro!]
|
2020-10-02 21:53:09 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `path` in scope
|
2020-08-31 22:28:38 -05:00
|
|
|
|
|
|
|
error: unresolved link to `path::to::nonexistent::type`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:15:6
|
2020-08-31 22:28:38 -05:00
|
|
|
|
|
|
|
|
LL | /// [type@path::to::nonexistent::type]
|
2020-10-02 21:53:09 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `path` in scope
|
2020-08-31 22:28:38 -05:00
|
|
|
|
|
|
|
error: unresolved link to `std::io::not::here`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:19:6
|
2020-08-31 22:28:38 -05:00
|
|
|
|
|
2020-08-21 15:37:31 -05:00
|
|
|
LL | /// [std::io::not::here]
|
2020-10-02 21:53:09 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ no item named `not` in module `io`
|
2020-08-21 15:37:31 -05:00
|
|
|
|
2020-09-19 23:32:00 -05:00
|
|
|
error: unresolved link to `std::io::not::here`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:23:6
|
2020-08-21 15:37:31 -05:00
|
|
|
|
|
2020-09-19 23:32:00 -05:00
|
|
|
LL | /// [type@std::io::not::here]
|
2020-10-02 21:53:09 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ no item named `not` in module `io`
|
2020-09-19 23:32:00 -05:00
|
|
|
|
|
|
|
error: unresolved link to `std::io::Error::x`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:27:6
|
2020-09-19 23:32:00 -05:00
|
|
|
|
|
2020-08-21 15:37:31 -05:00
|
|
|
LL | /// [std::io::Error::x]
|
2020-09-11 13:00:40 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^ the struct `Error` has no field or associated item named `x`
|
2020-08-21 15:37:31 -05:00
|
|
|
|
|
|
|
error: unresolved link to `std::io::ErrorKind::x`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:31:6
|
2020-08-21 15:37:31 -05:00
|
|
|
|
|
|
|
|
LL | /// [std::io::ErrorKind::x]
|
2020-09-11 13:00:40 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ the enum `ErrorKind` has no variant or associated item named `x`
|
2020-08-21 15:37:31 -05:00
|
|
|
|
|
|
|
error: unresolved link to `f::A`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:35:6
|
2020-08-21 15:37:31 -05:00
|
|
|
|
|
2020-08-20 10:41:18 -05:00
|
|
|
LL | /// [f::A]
|
2020-09-11 13:00:40 -05:00
|
|
|
| ^^^^ `f` is a function, not a module or type, and cannot have associated items
|
2020-08-20 10:41:18 -05:00
|
|
|
|
2020-09-19 23:32:00 -05:00
|
|
|
error: unresolved link to `f::A`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:39:6
|
2020-09-19 23:32:00 -05:00
|
|
|
|
|
|
|
|
LL | /// [f::A!]
|
|
|
|
| ^^^^^ `f` is a function, not a module or type, and cannot have associated items
|
|
|
|
|
2020-08-20 10:41:18 -05:00
|
|
|
error: unresolved link to `S::A`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:43:6
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
|
|
|
LL | /// [S::A]
|
2020-09-11 13:00:40 -05:00
|
|
|
| ^^^^ the struct `S` has no field or associated item named `A`
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
|
|
error: unresolved link to `S::fmt`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:47:6
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
|
|
|
LL | /// [S::fmt]
|
2020-09-11 13:00:40 -05:00
|
|
|
| ^^^^^^ the struct `S` has no field or associated item named `fmt`
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
|
|
error: unresolved link to `E::D`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:51:6
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
|
|
|
LL | /// [E::D]
|
2020-09-11 13:00:40 -05:00
|
|
|
| ^^^^ the enum `E` has no variant or associated item named `D`
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
|
|
error: unresolved link to `u8::not_found`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:55:6
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
|
|
|
LL | /// [u8::not_found]
|
2020-09-20 01:39:19 -05:00
|
|
|
| ^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
|
2020-08-20 10:41:18 -05:00
|
|
|
|
2020-09-20 01:39:19 -05:00
|
|
|
error: unresolved link to `std::primitive::u8::not_found`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:59:6
|
2020-08-20 10:41:18 -05:00
|
|
|
|
|
2020-09-20 01:39:19 -05:00
|
|
|
LL | /// [std::primitive::u8::not_found]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
|
|
|
|
|
|
|
|
error: unresolved link to `Vec::into_iter`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:63:6
|
2020-09-20 01:39:19 -05:00
|
|
|
|
|
|
|
|
LL | /// [type@Vec::into_iter]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ this link resolves to the associated function `into_iter`, which is not in the type namespace
|
|
|
|
|
|
|
|
|
help: to link to the associated function, add parentheses
|
|
|
|
|
|
2021-06-21 21:07:19 -05:00
|
|
|
LL - /// [type@Vec::into_iter]
|
|
|
|
LL + /// [Vec::into_iter()]
|
2022-06-08 14:33:47 -05:00
|
|
|
|
|
2020-09-20 01:39:19 -05:00
|
|
|
|
|
|
|
error: unresolved link to `S`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:68:6
|
2020-09-20 01:39:19 -05:00
|
|
|
|
|
2020-08-20 10:41:18 -05:00
|
|
|
LL | /// [S!]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^ this link resolves to the struct `S`, which is not in the macro namespace
|
|
|
|
|
|
|
|
|
help: to link to the struct, prefix with `struct@`
|
|
|
|
|
|
2021-06-21 21:07:19 -05:00
|
|
|
LL - /// [S!]
|
|
|
|
LL + /// [struct@S]
|
2022-06-08 14:33:47 -05:00
|
|
|
|
|
2020-08-20 20:15:32 -05:00
|
|
|
|
2020-11-22 12:34:06 -06:00
|
|
|
error: unresolved link to `S::h`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:78:6
|
2020-11-22 12:34:06 -06:00
|
|
|
|
|
|
|
|
LL | /// [type@S::h]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^^^ this link resolves to the associated function `h`, which is not in the type namespace
|
|
|
|
|
|
|
|
|
help: to link to the associated function, add parentheses
|
|
|
|
|
|
2021-06-21 21:07:19 -05:00
|
|
|
LL - /// [type@S::h]
|
|
|
|
LL + /// [S::h()]
|
2022-06-08 14:33:47 -05:00
|
|
|
|
|
2020-11-22 12:34:06 -06:00
|
|
|
|
2020-08-20 20:15:32 -05:00
|
|
|
error: unresolved link to `T::g`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:86:6
|
2020-08-20 20:15:32 -05:00
|
|
|
|
|
|
|
|
LL | /// [type@T::g]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^^^ this link resolves to the associated function `g`, which is not in the type namespace
|
|
|
|
|
|
|
|
|
help: to link to the associated function, add parentheses
|
|
|
|
|
|
2021-06-21 21:07:19 -05:00
|
|
|
LL - /// [type@T::g]
|
|
|
|
LL + /// [T::g()]
|
2022-06-08 14:33:47 -05:00
|
|
|
|
|
2020-08-20 22:05:47 -05:00
|
|
|
|
|
|
|
error: unresolved link to `T::h`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:91:6
|
2020-08-20 22:05:47 -05:00
|
|
|
|
|
|
|
|
LL | /// [T::h!]
|
2020-09-11 13:00:40 -05:00
|
|
|
| ^^^^^ the trait `T` has no macro named `h`
|
2020-08-20 20:15:32 -05:00
|
|
|
|
2023-02-10 18:00:18 -06:00
|
|
|
error: unresolved link to `TestEnum::Variant1::field_name`
|
|
|
|
--> $DIR/errors.rs:107:6
|
|
|
|
|
|
|
|
|
LL | ///[`TestEnum::Variant1::field_name`]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant `Variant1` has no such field
|
|
|
|
|
|
|
|
error: unresolved link to `TestEnumNoFields::Variant1::field_name`
|
|
|
|
--> $DIR/errors.rs:115:6
|
|
|
|
|
|
|
|
|
LL | ///[`TestEnumNoFields::Variant1::field_name`]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Variant1` is a variant, not a module or type, and cannot have associated items
|
|
|
|
|
2020-08-21 15:37:31 -05:00
|
|
|
error: unresolved link to `m`
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/errors.rs:98:6
|
2020-08-21 15:37:31 -05:00
|
|
|
|
|
|
|
|
LL | /// [m()]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^ this link resolves to the macro `m`, which is not in the value namespace
|
|
|
|
|
|
|
|
|
help: to link to the macro, add an exclamation mark
|
|
|
|
|
|
|
|
|
LL | /// [m!()]
|
2021-06-21 21:07:19 -05:00
|
|
|
| +
|
2020-08-21 15:37:31 -05:00
|
|
|
|
2023-02-10 18:00:18 -06:00
|
|
|
error: aborting due to 22 previous errors
|
2020-08-20 10:41:18 -05:00
|
|
|
|