From 751ddb7eb2d585c39d4461a333c9b3408114fcfa Mon Sep 17 00:00:00 2001 From: marcusdunn Date: Fri, 14 May 2021 15:52:04 -0700 Subject: [PATCH] updated the feature-gate listing --- compiler/rustc_feature/src/accepted.rs | 3 +++ compiler/rustc_feature/src/active.rs | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/compiler/rustc_feature/src/accepted.rs b/compiler/rustc_feature/src/accepted.rs index 95504723e7b24..694ee972cbda9 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 a84737e80a09f..773043ce8d91f 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),