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

Missing documentation for rustdoc features doc_cfg_hide and doc_auto_cfg #92484

Closed
Nemo157 opened this issue Jan 2, 2022 · 0 comments · Fixed by #92818
Closed

Missing documentation for rustdoc features doc_cfg_hide and doc_auto_cfg #92484

Nemo157 opened this issue Jan 2, 2022 · 0 comments · Fixed by #92818
Labels
F-doc_auto_cfg `#![feature(doc_auto_cfg)]` F-doc_cfg `#![feature(doc_cfg)]` T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Nemo157
Copy link
Member

Nemo157 commented Jan 2, 2022

#89596 and #90502 added two new sub-features of doc_cfg but these are currently undocumented outside the implementation. They should probably both be sub-headings under https://doc.rust-lang.org/nightly/rustdoc/unstable-features.html#doccfg-recording-what-platforms-or-features-are-required-for-code-to-be-present.

@Nemo157 Nemo157 added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. F-doc_cfg `#![feature(doc_cfg)]` F-doc_auto_cfg `#![feature(doc_auto_cfg)]` labels Jan 2, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Jan 14, 2022
…r=camelid

Update documentation for doc_cfg feature

Fixes  rust-lang#92484.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Jan 14, 2022
…r=camelid

Update documentation for doc_cfg feature

Fixes  rust-lang#92484.
@bors bors closed this as completed in 3cbc448 Jan 14, 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)]` F-doc_cfg `#![feature(doc_cfg)]` T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant