Skip to content

Links in deprecated notes have poor contrast #98341

Closed
@jplatte

Description

@jplatte

I tried documenting this code:

#[deprecated = "Replaced by [`Client::login_token`](#method.login_token)"]
pub async fn login_with_token(
    // ...

I expected to see this happen: cargo doc generating a beautiful doc page

Instead, this happened:

Screenshot_2022-06-21_154838

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 +A-rustdoc-ui

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.L-deprecatedLint: deprecatedT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions