Skip to content

cfg_attr doesn't work in all contexts #19372

Closed
@sfackler

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.

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