2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `S`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:22:14
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [struct@S]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^^ this link resolved to an enum, which is not a struct
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2020-11-28 20:10:37 -06:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:1:9
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
2020-12-29 22:16:16 -06:00
|
|
|
LL | #![deny(rustdoc::broken_intra_doc_links)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-07-19 10:00:35 -05:00
|
|
|
help: to link to the enum, prefix with `enum@`
|
|
|
|
|
|
|
|
|
LL | /// Link to [enum@S]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `S`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:27:14
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [mod@S]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^ this link resolved to an enum, which is not a module
|
|
|
|
|
|
|
|
|
help: to link to the enum, prefix with `enum@`
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
LL | /// Link to [enum@S]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `S`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:32:14
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [union@S]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^ this link resolved to an enum, which is not a union
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
help: to link to the enum, prefix with `enum@`
|
|
|
|
|
|
|
|
|
LL | /// Link to [enum@S]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `S`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:37:14
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [trait@S]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^ this link resolved to an enum, which is not a trait
|
|
|
|
|
|
|
|
|
help: to link to the enum, prefix with `enum@`
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
LL | /// Link to [enum@S]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `T`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:42:14
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [struct@T]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^^ this link resolved to a trait, which is not a struct
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL | /// Link to [trait@T]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~~
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `m`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:47:14
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [derive@m]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^^ this link resolved to a macro, which is not a derive macro
|
|
|
|
|
|
|
|
|
help: to link to the macro, add an exclamation mark
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
2021-06-21 21:07:19 -05:00
|
|
|
LL - /// Link to [derive@m]
|
|
|
|
LL + /// Link to [m!]
|
2022-06-08 14:33:47 -05:00
|
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
|
|
|
|
error: unresolved link to `m`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:52:14
|
2021-07-19 10:00:35 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [m()]
|
2024-10-04 11:45:34 -05:00
|
|
|
| ^^^ this link resolves to the macro `m`, which is not a function
|
2021-07-19 10:00:35 -05:00
|
|
|
|
|
|
|
|
help: to link to the macro, add an exclamation mark
|
|
|
|
|
|
|
|
|
LL | /// Link to [m!()]
|
2021-06-21 21:07:19 -05:00
|
|
|
| +
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `s`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:58:14
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [const@s]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^ this link resolved to a static, which is not a constant
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
help: to link to the static, prefix with `static@`
|
|
|
|
|
|
|
|
|
LL | /// Link to [static@s]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~~~
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `c`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:63:14
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [static@c]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^^ this link resolved to a constant, which is not a static
|
|
|
|
|
|
|
|
|
help: to link to the constant, prefix with `const@`
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
LL | /// Link to [const@c]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~~
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `c`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:68:14
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [fn@c]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^ this link resolved to a constant, which is not a function
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
help: to link to the constant, prefix with `const@`
|
|
|
|
|
|
|
|
|
LL | /// Link to [const@c]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~~
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `c`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:73:14
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [c()]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^ this link resolved to a constant, which is not a function
|
|
|
|
|
|
|
|
|
help: to link to the constant, prefix with `const@`
|
2020-08-02 19:45:24 -05:00
|
|
|
|
|
2021-06-21 21:07:19 -05:00
|
|
|
LL - /// Link to [c()]
|
|
|
|
LL + /// Link to [const@c]
|
2022-06-08 14:33:47 -05:00
|
|
|
|
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-05 19:46:02 -05:00
|
|
|
error: incompatible link kind for `f`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:78:14
|
2020-08-05 19:46:02 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [const@f]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^ this link resolved to a function, which is not a constant
|
|
|
|
|
|
|
|
|
help: to link to the function, add parentheses
|
2020-08-05 19:46:02 -05:00
|
|
|
|
|
2021-06-21 21:07:19 -05:00
|
|
|
LL - /// Link to [const@f]
|
|
|
|
LL + /// Link to [f()]
|
2022-06-08 14:33:47 -05:00
|
|
|
|
|
2020-08-05 19:46:02 -05:00
|
|
|
|
2022-01-06 16:49:28 -06:00
|
|
|
error: unresolved link to `std`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:83:14
|
2022-01-06 16:49:28 -06:00
|
|
|
|
|
|
|
|
LL | /// Link to [fn@std]
|
2024-10-04 11:45:34 -05:00
|
|
|
| ^^^^^^ this link resolves to the crate `std`, which is not a function
|
2022-01-06 16:49:28 -06:00
|
|
|
|
|
2022-01-06 16:43:27 -06:00
|
|
|
help: to link to the crate, prefix with `mod@`
|
2022-01-06 16:49:28 -06:00
|
|
|
|
|
|
|
|
LL | /// Link to [mod@std]
|
|
|
|
| ~~~~
|
|
|
|
|
2024-09-19 16:42:55 -05:00
|
|
|
error: incompatible link kind for `X::y`
|
|
|
|
--> $DIR/disambiguator-mismatch.rs:88:14
|
|
|
|
|
|
|
|
|
LL | /// Link to [method@X::y]
|
|
|
|
| ^^^^^^^^^^^ this link resolved to a field, which is not a function
|
|
|
|
|
|
|
|
|
help: to link to the field, prefix with `field@`
|
|
|
|
|
|
|
|
|
LL | /// Link to [field@X::y]
|
|
|
|
| ~~~~~~
|
|
|
|
|
2024-10-03 19:42:08 -05:00
|
|
|
error: unresolved link to `S::A`
|
2024-09-19 16:42:55 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:93:14
|
|
|
|
|
|
|
|
|
LL | /// Link to [field@S::A]
|
2024-10-04 11:45:34 -05:00
|
|
|
| ^^^^^^^^^^ this link resolves to the variant `A`, which is not a field
|
2024-09-19 16:42:55 -05:00
|
|
|
|
|
2024-10-03 19:42:08 -05:00
|
|
|
help: to link to the variant, prefix with `variant@`
|
2024-09-19 16:42:55 -05:00
|
|
|
|
|
|
|
|
LL | /// Link to [variant@S::A]
|
|
|
|
| ~~~~~~~~
|
|
|
|
|
|
|
|
error: aborting due to 15 previous errors
|
2020-08-02 19:45:24 -05:00
|
|
|
|