]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/intra-doc/field-ice.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / rustdoc-ui / intra-doc / field-ice.stderr
1 error: incompatible link kind for `Foo::bar`
2   --> $DIR/field-ice.rs:5:7
3    |
4 LL | /// [`Foo::bar()`]
5    |       ^^^^^^^^^^ this link resolved to a field, which is not a function
6    |
7 note: the lint level is defined here
8   --> $DIR/field-ice.rs:1:9
9    |
10 LL | #![deny(rustdoc::broken_intra_doc_links)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 help: to link to the field, remove the disambiguator
13    |
14 LL | /// [`Foo::bar`]
15    |       ~~~~~~~~
16
17 error: aborting due to previous error
18