Function clippy_utils::ty::read_explicit_enum_value
source · Expand description
Attempts to read the given constant as though it were an an enum value.
Attempts to read the given constant as though it were an an enum value.