Skip to content

Action to rewrite #[cfg()] as if cfg!() #20274

@emilyyyylime

Description

@emilyyyylime

This of course is not applicable everywhere but where it is it is generally preferable as errors in the conditional code will be detected even if the condition is false

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions