1
Fork 0

Stabilize arbitrary_enum_discriminant

This commit is contained in:
Deadbeef 2021-07-04 14:52:17 +08:00
parent aea2e446f0
commit 7a62f29f31
No known key found for this signature in database
GPG key ID: 6525773485376D92
21 changed files with 13 additions and 221 deletions

View file

@ -294,6 +294,8 @@ 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),
// -------------------------------------------------------------------------
// feature-group-end: accepted features

View file

@ -479,9 +479,6 @@ 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),