]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_feature/src/accepted.rs
Auto merge of #87515 - crlf0710:trait_upcasting_part2, r=bjorn3
[rust.git] / compiler / rustc_feature / src / accepted.rs
index 95504723e7b248b9250368a8f4136dde95d87f27..9ce5a149697f7783a292400962ee252d7017f517 100644 (file)
@@ -287,6 +287,13 @@ macro_rules! declare_features {
     (accepted, const_fn_unsize, "1.54.0", Some(64992), None),
     /// Allows `impl Trait` with multiple unrelated lifetimes.
     (accepted, member_constraints, "1.54.0", Some(61997), None),
+    /// 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