2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `S`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:16: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]
|
|
|
|
| ^^^^^
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `S`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:21: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]
|
|
|
|
| ^^^^^
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `S`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:26: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]
|
|
|
|
| ^^^^^
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `S`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:31: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]
|
|
|
|
| ^^^^^
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `T`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:36: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]
|
|
|
|
| ^^^^^^
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `m`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:41: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-07-19 10:00:35 -05:00
|
|
|
LL | /// Link to [m!]
|
|
|
|
| --^
|
|
|
|
|
|
|
|
error: unresolved link to `m`
|
|
|
|
--> $DIR/disambiguator-mismatch.rs:46:14
|
|
|
|
|
|
|
|
|
LL | /// Link to [m()]
|
|
|
|
| ^^^ 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 | /// Link to [m!()]
|
|
|
|
| ^
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `s`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:52: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]
|
|
|
|
| ^^^^^^^
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `c`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:57: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]
|
|
|
|
| ^^^^^^
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `c`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:62: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]
|
|
|
|
| ^^^^^^
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-04 22:39:18 -05:00
|
|
|
error: incompatible link kind for `c`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:67: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-07-19 10:00:35 -05:00
|
|
|
LL | /// Link to [const@c]
|
|
|
|
| ^^^^^^--
|
2020-08-02 19:45:24 -05:00
|
|
|
|
2020-08-05 19:46:02 -05:00
|
|
|
error: incompatible link kind for `f`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:72: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-07-19 10:00:35 -05:00
|
|
|
LL | /// Link to [f()]
|
|
|
|
| --^^
|
2020-08-05 19:46:02 -05:00
|
|
|
|
2021-07-19 10:00:35 -05:00
|
|
|
error: aborting due to 12 previous errors
|
2020-08-02 19:45:24 -05:00
|
|
|
|