Skip to content

[doc_auto_cfg] feature gated macros are not marked with feature badge #100916

Open
@Geobert

Description

@Geobert

I have some macros behind a feature flag and when generating the doc, they don't have the feature badge.
I had to mark each of them manually with doc(cfg(feature = "my_feature")) (and in an cfg_attr to keep compiling on stable)

I'm not sure if this is intended or not but I couldn't find anything on the subject on this repo :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-doc_auto_cfg`#![feature(doc_auto_cfg)]`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