This is a tracking issue for the RFC "Type alias enum variants" (rust-lang/rfcs#2338). **Steps:** - [x] Implement the RFC (https://github.com/rust-lang/rust/pull/56225) - [ ] Adjust documentation ([see instructions on forge][doc-guide]) - [x] Stabilization PR (https://github.com/rust-lang/rust/pull/61682) [stabilization-guide]: https://forge.rust-lang.org/stabilization-guide.html [doc-guide]: https://forge.rust-lang.org/stabilization-guide.html#updating-documentation **Unresolved questions:** - [x] Decide how to resolve in case of ambiguities between associate types and variants. (Currently low-priority resolution for variants.) See https://github.com/rust-lang/rust/pull/56225#issuecomment-449961979. **Resolved in favour of high-priority resolution with https://github.com/rust-lang/rust/pull/57501.**
This is a tracking issue for the RFC "Type alias enum variants" (rust-lang/rfcs#2338).
Steps:
type_alias_enum_variantsin Rust 1.37.0 #61682)Unresolved questions: