Intra-doc links don't work inside deprecated notes #98342
Open
Description
opened on Jun 21, 2022
I tried this code:
#[deprecated = "Replaced by [`Client::login_token`]"]
pub async fn login_with_token(
// ...
I expected to see this happen: cargo doc
producing a deprecation note with a link
Instead, this happened: No link in the docs, just verbatim square brackets around Client::login_token
I also tried with [`Client::login_token`](Self::login_token)
, but that just produced a broken link.
Meta
rustc --version --verbose
:
rustc 1.63.0-nightly (cacc75c82 2022-06-16)
binary: rustc
commit-hash: cacc75c82ebe15cf63d31034fcf7f1016cddf0e2
commit-date: 2022-06-16
host: x86_64-unknown-linux-gnu
release: 1.63.0-nightly
LLVM version: 14.0.5
@rustbot labels: +T-rustdoc
Activity