mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
16 lines
465 B
Plaintext
16 lines
465 B
Plaintext
|
error: incompatible link kind for `Foo::bar`
|
||
|
--> $DIR/field-ice.rs:5:6
|
||
|
|
|
||
|
LL | /// [`Foo::bar()`]
|
||
|
| ^^^^^^^^^^^^ help: to link to the field, remove the disambiguator: ``Foo::bar``
|
||
|
|
|
||
|
note: the lint level is defined here
|
||
|
--> $DIR/field-ice.rs:1:9
|
||
|
|
|
||
|
LL | #![deny(rustdoc::broken_intra_doc_links)]
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
= note: this link resolved to a field, which is not a function
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|