1
Fork 0

Stabilize const_fn_union

This commit is contained in:
Jacob Pratt 2021-06-03 02:16:56 -04:00
parent 36f02f3523
commit 7bf791d162
No known key found for this signature in database
GPG key ID: B80E19E4662B5AA4
6 changed files with 5 additions and 33 deletions

View file

@ -292,6 +292,8 @@ declare_features! (
(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

View file

@ -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),