Skip to content

Rustdoc doesn't always show feature-gated types #113499

@cdmistman

Description

@cdmistman

miette has several types that are feature-gated, such as GraphicalReportHandler, which aren't shown as feature-gated in documentation.

I expected this:
Screenshot 2023-07-09 at 12 20 18 AM

to contain a box saying fancy-no-backtrace next to the GraphicalReportHandler link as shown eg in this screenshot from the tokio docs
Screenshot 2023-07-09 at 12 21 40 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.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