Skip to content

#[deprecated(since="TBD")] says "Rust version" in doc even in third party crate #118148

Closed
@Noratrieb

Description

@Noratrieb
#[deprecated(since = "TBD")]
pub fn x() {}

says "Deprecating in a future Rust version"

documentation saying that

but it will not be deprecated in a future Rust version, it will be deprecated in a future crate version. An easy fix would be just always saying "version" instead of "Rust version", alternatively special casing the standard library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-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