Skip to content

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

Open
@clubby789

Description

@clubby789

Original context

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.F-check-cfg--check-cfgF-doc_cfg`#![feature(doc_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