fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: `Self::IDENT` is both an associated function and an associated type 2 --> $DIR/issue-108653-associated-items.rs:9:7 3 | 4LL | /// [`Self::IDENT`] 5 | ^^^^^^^^^^^ ambiguous link 6 | 7note: the lint level is defined here 8 --> $DIR/issue-108653-associated-items.rs:3:9 9 | 10LL | #![deny(rustdoc::broken_intra_doc_links)] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12help: to link to the associated function, add parentheses 13 | 14LL | /// [`Self::IDENT()`] 15 | ++ 16help: to link to the associated type, prefix with `type@` 17 | 18LL | /// [`type@Self::IDENT`] 19 | +++++ 20 21error: `Self::IDENT2` is both an associated constant and an associated type 22 --> $DIR/issue-108653-associated-items.rs:23:7 23 | 24LL | /// [`Self::IDENT2`] 25 | ^^^^^^^^^^^^ ambiguous link 26 | 27help: to link to the associated constant, prefix with `const@` 28 | 29LL | /// [`const@Self::IDENT2`] 30 | ++++++ 31help: to link to the associated type, prefix with `type@` 32 | 33LL | /// [`type@Self::IDENT2`] 34 | +++++ 35 36error: `Self::IDENT` is both an associated function and a variant 37 --> $DIR/issue-108653-associated-items.rs:16:7 38 | 39LL | /// [`Self::IDENT`] 40 | ^^^^^^^^^^^ ambiguous link 41 | 42help: to link to the associated function, add parentheses 43 | 44LL | /// [`Self::IDENT()`] 45 | ++ 46help: to link to the variant, prefix with `type@` 47 | 48LL | /// [`type@Self::IDENT`] 49 | +++++ 50 51error: `Self::IDENT2` is both an associated constant and an associated type 52 --> $DIR/issue-108653-associated-items.rs:30:7 53 | 54LL | /// [`Self::IDENT2`] 55 | ^^^^^^^^^^^^ ambiguous link 56 | 57help: to link to the associated constant, prefix with `const@` 58 | 59LL | /// [`const@Self::IDENT2`] 60 | ++++++ 61help: to link to the associated type, prefix with `type@` 62 | 63LL | /// [`type@Self::IDENT2`] 64 | +++++ 65 66error: aborting due to 4 previous errors 67