Skip to content

[rustdoc] Add option to hide deprecated items #149483

@FeldrinH

Description

@FeldrinH

When looking throught the documentation of a library, I generally want to ignore deprecated items. Some libraries (the standard library in particular) never make breaking changes, so they slowly accumulate a layer of deprecated functions that only adds noise to the documentation when working on greenfield projects.

It would be nice if there was an option to hide deprecated items in the docs.rs documentation.

Metadata

Metadata

Assignees

Labels

A-frontendArea: Compiler frontend (errors, parsing and HIR)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.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