fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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