Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Geobert opened this issue Aug 23, 2022 · 0 comments
Open

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

Geobert opened this issue Aug 23, 2022 · 0 comments
Labels
F-doc_auto_cfg `#![feature(doc_auto_cfg)]` T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Geobert
Copy link

Geobert commented Aug 23, 2022

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 :)

@Nemo157 Nemo157 added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. F-doc_auto_cfg `#![feature(doc_auto_cfg)]` labels Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-doc_auto_cfg `#![feature(doc_auto_cfg)]` T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants