2021-07-12 06:04:51 -05:00
|
|
|
error: incompatible link kind for `Foo::bar`
|
2021-07-19 10:00:35 -05:00
|
|
|
--> $DIR/field-ice.rs:5:7
|
2021-07-12 06:04:51 -05:00
|
|
|
|
|
|
|
|
LL | /// [`Foo::bar()`]
|
2021-07-19 10:00:35 -05:00
|
|
|
| ^^^^^^^^^^ this link resolved to a field, which is not a function
|
2021-07-12 06:04:51 -05:00
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/field-ice.rs:1:9
|
|
|
|
|
|
|
|
|
LL | #![deny(rustdoc::broken_intra_doc_links)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-07-19 10:00:35 -05:00
|
|
|
help: to link to the field, remove the disambiguator
|
|
|
|
|
|
|
|
|
LL | /// [`Foo::bar`]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~~~~
|
2021-07-12 06:04:51 -05:00
|
|
|
|
2023-11-21 10:44:51 -06:00
|
|
|
error: aborting due to 1 previous error
|
2021-07-12 06:04:51 -05:00
|
|
|
|