diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-01-11 00:53:54 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-01-20 11:18:05 +0100 |
| commit | 93efe41b4ef9e0cccedbf962381002d48b3f780c (patch) | |
| tree | 6acc71b6c09200a251370c096bd9ba4e2bd22818 /src/librustc_feature | |
| parent | 900811e43047fc5593f39b0363373530b02c87e0 (diff) | |
stabilize transparent_enums
Diffstat (limited to 'src/librustc_feature')
| -rw-r--r-- | src/librustc_feature/accepted.rs | 2 | ||||
| -rw-r--r-- | src/librustc_feature/active.rs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc_feature/accepted.rs b/src/librustc_feature/accepted.rs index 007cee4c764..18dc3e30db1 100644 --- a/src/librustc_feature/accepted.rs +++ b/src/librustc_feature/accepted.rs @@ -257,6 +257,8 @@ declare_features! ( /// Allows relaxing the coherence rules such that /// `impl<T> ForeignTrait<LocalType> for ForeignType<T>` is permitted. (accepted, re_rebalance_coherence, "1.41.0", Some(55437), None), + /// Allows #[repr(transparent)] on univariant enums (RFC 2645). + (accepted, transparent_enums, "1.42.0", Some(60405), None), /// Allows using subslice patterns, `[a, .., b]` and `[a, xs @ .., b]`. (accepted, slice_patterns, "1.42.0", Some(62254), None), diff --git a/src/librustc_feature/active.rs b/src/librustc_feature/active.rs index 6af9b6c0872..f20a57ea61c 100644 --- a/src/librustc_feature/active.rs +++ b/src/librustc_feature/active.rs @@ -468,9 +468,6 @@ declare_features! ( /// Allows `if/while p && let q = r && ...` chains. (active, let_chains, "1.37.0", Some(53667), None), - /// Allows #[repr(transparent)] on enums (RFC 2645). - (active, transparent_enums, "1.37.0", Some(60405), None), - /// Allows #[repr(transparent)] on unions (RFC 2645). (active, transparent_unions, "1.37.0", Some(60405), None), |
