-
-
Notifications
You must be signed in to change notification settings - Fork 15k
#[doc(cfg(..)] does not respect check-cfg #138358
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-check-cfg--check-cfg--check-cfgF-doc_cfg`#![feature(doc_cfg)]``#![feature(doc_cfg)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-check-cfg--check-cfg--check-cfgF-doc_cfg`#![feature(doc_cfg)]``#![feature(doc_cfg)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Original context
check_matchesemits a buffered lint, but rustdoc never emits this, so unknown cfgs are silently expected.