about summary refs log tree commit diff
diff options
context:
space:
mode:
authormarcusdunn <marcus.s.dunn@gmail.com>2021-05-14 15:52:04 -0700
committermarcusdunn <marcus.s.dunn@gmail.com>2021-06-04 09:41:55 -0700
commit751ddb7eb2d585c39d4461a333c9b3408114fcfa (patch)
tree4bfbc89f79aa620ffcfb3e08140fcb0b964b75f3
parent2d74cd255d599436675b2f67ad3ad1956dc9f02a (diff)
downloadrust-751ddb7eb2d585c39d4461a333c9b3408114fcfa.tar.gz
rust-751ddb7eb2d585c39d4461a333c9b3408114fcfa.zip
updated the feature-gate listing
-rw-r--r--compiler/rustc_feature/src/accepted.rs3
-rw-r--r--compiler/rustc_feature/src/active.rs4
2 files changed, 3 insertions, 4 deletions
diff --git a/compiler/rustc_feature/src/accepted.rs b/compiler/rustc_feature/src/accepted.rs
index 95504723e7b..694ee972cbd 100644
--- a/compiler/rustc_feature/src/accepted.rs
+++ b/compiler/rustc_feature/src/accepted.rs
@@ -287,6 +287,9 @@ 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)`.
+    (active, bindings_after_at, "1.54.0", Some(65490), None),
 
     // -------------------------------------------------------------------------
     // feature-group-end: accepted features
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs
index a84737e80a0..773043ce8d9 100644
--- a/compiler/rustc_feature/src/active.rs
+++ b/compiler/rustc_feature/src/active.rs
@@ -513,10 +513,6 @@ declare_features! (
     /// Allows using `&mut` in constant functions.
     (active, const_mut_refs, "1.41.0", Some(57349), None),
 
-    /// Allows bindings in the subpattern of a binding pattern.
-    /// For example, you can write `x @ Some(y)`.
-    (active, bindings_after_at, "1.41.0", Some(65490), None),
-
     /// Allows `impl const Trait for T` syntax.
     (active, const_trait_impl, "1.42.0", Some(67792), None),