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