1
Fork 0

Revert "Stabilize arbitrary_enum_discriminant"

This reverts commit 7a62f29f31.
This commit is contained in:
Mark Rousskov 2021-10-14 10:57:56 -04:00
parent c34ac8747c
commit 8485e6fdec
21 changed files with 221 additions and 13 deletions

View file

@ -293,8 +293,6 @@ declare_features! (
(accepted, const_fn_transmute, "1.56.0", Some(53605), None),
/// Allows accessing fields of unions inside `const` functions.
(accepted, const_fn_union, "1.56.0", Some(51909), None),
/// Allows explicit discriminants on non-unit enum variants.
(accepted, arbitrary_enum_discriminant, "1.56.0", Some(60553), None),
/// Allows macro attributes to observe output of `#[derive]`.
(accepted, macro_attributes_in_derive_output, "1.57.0", Some(81119), None),
/// Allows panicking during const eval (producing compile-time errors).

View file

@ -464,6 +464,9 @@ declare_features! (
/// Allows #[repr(transparent)] on unions (RFC 2645).
(active, transparent_unions, "1.37.0", Some(60405), None),
/// Allows explicit discriminants on non-unit enum variants.
(active, arbitrary_enum_discriminant, "1.37.0", Some(60553), None),
/// Allows `async || body` closures.
(active, async_closure, "1.37.0", Some(62290), None),