2020-08-04 23:39:18 -04:00
|
|
|
error: incompatible link kind for `S`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:14:14
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [struct@S]
|
2020-08-28 00:53:36 -04:00
|
|
|
| ^^^^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S`
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:1:9
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
2020-12-29 23:16:16 -05:00
|
|
|
LL | #![deny(rustdoc::broken_intra_doc_links)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-08-04 23:31:36 -04:00
|
|
|
= note: this link resolved to an enum, which is not a struct
|
2020-08-02 20:45:24 -04:00
|
|
|
|
2020-08-04 23:39:18 -04:00
|
|
|
error: incompatible link kind for `S`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:19:14
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [mod@S]
|
2020-08-28 00:53:36 -04:00
|
|
|
| ^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S`
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
2020-08-04 23:31:36 -04:00
|
|
|
= note: this link resolved to an enum, which is not a module
|
2020-08-02 20:45:24 -04:00
|
|
|
|
2020-08-04 23:39:18 -04:00
|
|
|
error: incompatible link kind for `S`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:24:14
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [union@S]
|
2020-08-28 00:53:36 -04:00
|
|
|
| ^^^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S`
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
2020-08-04 23:31:36 -04:00
|
|
|
= note: this link resolved to an enum, which is not a union
|
2020-08-02 20:45:24 -04:00
|
|
|
|
2020-08-04 23:39:18 -04:00
|
|
|
error: incompatible link kind for `S`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:29:14
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [trait@S]
|
2020-08-28 00:53:36 -04:00
|
|
|
| ^^^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S`
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
2020-08-04 23:31:36 -04:00
|
|
|
= note: this link resolved to an enum, which is not a trait
|
2020-08-02 20:45:24 -04:00
|
|
|
|
2020-08-04 23:39:18 -04:00
|
|
|
error: incompatible link kind for `T`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:34:14
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [struct@T]
|
2020-08-28 00:53:36 -04:00
|
|
|
| ^^^^^^^^ help: to link to the trait, prefix with `trait@`: `trait@T`
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
2020-08-04 23:31:36 -04:00
|
|
|
= note: this link resolved to a trait, which is not a struct
|
2020-08-02 20:45:24 -04:00
|
|
|
|
2020-08-04 23:39:18 -04:00
|
|
|
error: incompatible link kind for `m`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:39:14
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [derive@m]
|
2020-08-25 16:21:02 -04:00
|
|
|
| ^^^^^^^^ help: to link to the macro, add an exclamation mark: `m!`
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
2020-08-04 23:31:36 -04:00
|
|
|
= note: this link resolved to a macro, which is not a derive macro
|
2020-08-02 20:45:24 -04:00
|
|
|
|
2020-08-04 23:39:18 -04:00
|
|
|
error: incompatible link kind for `s`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:44:14
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [const@s]
|
2020-08-28 00:53:36 -04:00
|
|
|
| ^^^^^^^ help: to link to the static, prefix with `static@`: `static@s`
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
2020-08-04 23:31:36 -04:00
|
|
|
= note: this link resolved to a static, which is not a constant
|
2020-08-02 20:45:24 -04:00
|
|
|
|
2020-08-04 23:39:18 -04:00
|
|
|
error: incompatible link kind for `c`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:49:14
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [static@c]
|
2020-08-28 00:53:36 -04:00
|
|
|
| ^^^^^^^^ help: to link to the constant, prefix with `const@`: `const@c`
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
2020-08-04 23:31:36 -04:00
|
|
|
= note: this link resolved to a constant, which is not a static
|
2020-08-02 20:45:24 -04:00
|
|
|
|
2020-08-04 23:39:18 -04:00
|
|
|
error: incompatible link kind for `c`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:54:14
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [fn@c]
|
2020-08-28 00:53:36 -04:00
|
|
|
| ^^^^ help: to link to the constant, prefix with `const@`: `const@c`
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
2020-08-04 23:31:36 -04:00
|
|
|
= note: this link resolved to a constant, which is not a function
|
2020-08-02 20:45:24 -04:00
|
|
|
|
2020-08-04 23:39:18 -04:00
|
|
|
error: incompatible link kind for `c`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:59:14
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [c()]
|
2020-08-28 00:53:36 -04:00
|
|
|
| ^^^ help: to link to the constant, prefix with `const@`: `const@c`
|
2020-08-02 20:45:24 -04:00
|
|
|
|
|
2020-08-04 23:31:36 -04:00
|
|
|
= note: this link resolved to a constant, which is not a function
|
2020-08-02 20:45:24 -04:00
|
|
|
|
2020-08-05 20:46:02 -04:00
|
|
|
error: incompatible link kind for `f`
|
2020-11-28 21:10:37 -05:00
|
|
|
--> $DIR/disambiguator-mismatch.rs:64:14
|
2020-08-05 20:46:02 -04:00
|
|
|
|
|
|
|
|
LL | /// Link to [const@f]
|
2020-08-25 16:21:02 -04:00
|
|
|
| ^^^^^^^ help: to link to the function, add parentheses: `f()`
|
2020-08-05 20:46:02 -04:00
|
|
|
|
|
|
|
|
= note: this link resolved to a function, which is not a constant
|
|
|
|
|
|
|
|
error: aborting due to 11 previous errors
|
2020-08-02 20:45:24 -04:00
|
|
|
|