Skip to content

cfg_attr doesn't work in all contexts #19372

Description

@sfackler

It's implemented as a syntax extension, so it only works when attached to an item. It should really be folded into the strip_cfg pass until syntax extensions are powerful enough to handle all the cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-syntaxextArea: Syntax extensions

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions