fork/rust

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

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

master
660 B22 linesraw
1error: `Struct::Trait` is both an associated constant and an associated type
2  --> $DIR/issue-108653-associated-items-4.rs:11:7
3   |
4LL | /// [`Struct::Trait`]
5   |       ^^^^^^^^^^^^^ ambiguous link
6   |
7note: the lint level is defined here
8  --> $DIR/issue-108653-associated-items-4.rs:4:9
9   |
10LL | #![deny(rustdoc::broken_intra_doc_links)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12help: to link to the associated constant, prefix with `const@`
13   |
14LL | /// [`const@Struct::Trait`]
15   |       ++++++
16help: to link to the associated type, prefix with `type@`
17   |
18LL | /// [`type@Struct::Trait`]
19   |       +++++
20
21error: aborting due to previous error
22