fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
486 B18 linesraw
1error: incompatible link kind for `Foo::bar`
2  --> $DIR/field-ice.rs:5:7
3   |
4LL | /// [`Foo::bar()`]
5   |       ^^^^^^^^^^ this link resolved to a field, which is not a function
6   |
7note: the lint level is defined here
8  --> $DIR/field-ice.rs:1:9
9   |
10LL | #![deny(rustdoc::broken_intra_doc_links)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12help: to link to the field, remove the disambiguator
13   |
14LL | /// [`Foo::bar`]
15   |       ~~~~~~~~
16
17error: aborting due to previous error
18