Closed
Description
This is a tracking issue for the RFC "Type alias enum variants" (rust-lang/rfcs#2338).
Steps:
- Implement the RFC (Implement RFC 2338, "Type alias enum variants" #56225)
- Adjust documentation (see instructions on forge)
- Stabilization PR (Stabilize
type_alias_enum_variants
in Rust 1.37.0 #61682)
Unresolved questions:
- Decide how to resolve in case of ambiguities between associate types and variants. (Currently low-priority resolution for variants.) See Implement RFC 2338, "Type alias enum variants" #56225 (comment). Resolved in favour of high-priority resolution with High priority resolutions for associated variants #57501.