-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Intra-doc links don't work inside deprecated notes #98342
Copy link
Copy link
Closed
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.L-deprecatedLint: deprecatedLint: deprecatedT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.L-deprecatedLint: deprecatedLint: deprecatedT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code:
I expected to see this happen:
cargo docproducing a deprecation note with a linkInstead, this happened: No link in the docs, just verbatim square brackets around
Client::login_tokenI also tried with
[`Client::login_token`](Self::login_token), but that just produced a broken link.Meta
rustc --version --verbose:@rustbot labels: +T-rustdoc