Skip to content

Enum variant is not faded out when inactive due to cfg attribute #12664

@hasali19

Description

@hasali19

When using cfg attributes to conditionally compile enum variants, they are not faded out the way other code is.

image

rust-analyzer version: 0.0.0 (ce36446 2022-06-30)

rustc version: rustc 1.61.0 (fe5b13d68 2022-05-18)

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