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(cfg(..)] does not respect check-cfg #138358

Open
clubby789 opened this issue Mar 11, 2025 · 0 comments
Open

#[doc(cfg(..)] does not respect check-cfg #138358

clubby789 opened this issue Mar 11, 2025 · 0 comments
Labels
C-bug Category: This is a bug. F-doc_cfg `#![feature(doc_cfg)]` needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@clubby789
Copy link
Contributor

Original context

check_matches emits a buffered lint, but rustdoc never emits this, so unknown cfgs are silently expected.

@clubby789 clubby789 added C-bug Category: This is a bug. F-doc_cfg `#![feature(doc_cfg)]` T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Mar 11, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. F-doc_cfg `#![feature(doc_cfg)]` needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. 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