1
Fork 0

Stabilize const_fn_transmute

This commit is contained in:
Jacob Pratt 2021-06-03 02:11:14 -04:00
parent fd853c00e2
commit 36f02f3523
No known key found for this signature in database
GPG key ID: B80E19E4662B5AA4
12 changed files with 15 additions and 47 deletions

View file

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

View file

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