diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-10-14 10:57:56 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-10-14 10:57:56 -0400 |
| commit | 8485e6fdece723152c024228284ca76592108f72 (patch) | |
| tree | 00c6722fdb3d86360d83ab0551450894f3590224 /compiler/rustc_feature/src | |
| parent | c34ac8747ca96d09cb08b8f5adddead826e77c06 (diff) | |
| download | rust-8485e6fdece723152c024228284ca76592108f72.tar.gz rust-8485e6fdece723152c024228284ca76592108f72.zip | |
Revert "Stabilize `arbitrary_enum_discriminant`"
This reverts commit 7a62f29f3171767090949778ce0f161e930706b9.
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/accepted.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_feature/src/accepted.rs b/compiler/rustc_feature/src/accepted.rs index 55ec3703df8..0d7a2afb636 100644 --- a/compiler/rustc_feature/src/accepted.rs +++ b/compiler/rustc_feature/src/accepted.rs @@ -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). diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index a2fadb13a57..f7c0597909e 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -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), |
