Closed
Description
This is a tracking issue for the RFC "Allow arbitrary enums to have explicit discriminants" (rust-lang/rfcs#2363).
Steps:
- Implement the RFC – Implement arbitrary_enum_discriminant #60732
- Adjust documentation (see instructions on rustc-guide)
- Stabilization PR – Stabilize
arbitrary_enum_discriminant
#86860
Unresolved questions:
- Should discriminants of enumerations with fields be specified as variant attributes?
- Should this apply only to enumerations with an explicit representation?
Metadata
Metadata
Assignees
Labels
Blocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCStatus: There are blocking design concerns.Relevant to the language team, which will review and decide on the PR/issue.