diff options
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/accepted.rs | 4 | ||||
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/compiler/rustc_feature/src/accepted.rs b/compiler/rustc_feature/src/accepted.rs index c593009ce67..9ce5a149697 100644 --- a/compiler/rustc_feature/src/accepted.rs +++ b/compiler/rustc_feature/src/accepted.rs @@ -290,6 +290,10 @@ declare_features! ( /// Allows bindings in the subpattern of a binding pattern. /// For example, you can write `x @ Some(y)`. (accepted, bindings_after_at, "1.54.0", Some(65490), None), + /// Allows calling `transmute` in const fn + (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), // ------------------------------------------------------------------------- // feature-group-end: accepted features diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 803e4a2e59d..8ab61a5d200 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -413,9 +413,6 @@ declare_features! ( /// Allows inferring `'static` outlives requirements (RFC 2093). (active, infer_static_outlives_requirements, "1.26.0", Some(54185), None), - /// Allows accessing fields of unions inside `const` functions. - (active, const_fn_union, "1.27.0", Some(51909), None), - /// Allows dereferencing raw pointers during const eval. (active, const_raw_ptr_deref, "1.27.0", Some(51911), None), @@ -565,9 +562,6 @@ declare_features! ( /// Lazily evaluate constants. This allows constants to depend on type parameters. (incomplete, lazy_normalization_consts, "1.46.0", Some(72219), None), - /// Allows calling `transmute` in const fn - (active, const_fn_transmute, "1.46.0", Some(53605), None), - /// Allows `if let` guard in match arms. (incomplete, if_let_guard, "1.47.0", Some(51114), None), |
