Skip to content

Commit 751ddb7

Browse files
committed
updated the feature-gate listing
1 parent 2d74cd2 commit 751ddb7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

compiler/rustc_feature/src/accepted.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ declare_features! (
287287
(accepted, const_fn_unsize, "1.54.0", Some(64992), None),
288288
/// Allows `impl Trait` with multiple unrelated lifetimes.
289289
(accepted, member_constraints, "1.54.0", Some(61997), None),
290+
/// Allows bindings in the subpattern of a binding pattern.
291+
/// For example, you can write `x @ Some(y)`.
292+
(active, bindings_after_at, "1.54.0", Some(65490), None),
290293

291294
// -------------------------------------------------------------------------
292295
// feature-group-end: accepted features

compiler/rustc_feature/src/active.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -513,10 +513,6 @@ declare_features! (
513513
/// Allows using `&mut` in constant functions.
514514
(active, const_mut_refs, "1.41.0", Some(57349), None),
515515

516-
/// Allows bindings in the subpattern of a binding pattern.
517-
/// For example, you can write `x @ Some(y)`.
518-
(active, bindings_after_at, "1.41.0", Some(65490), None),
519-
520516
/// Allows `impl const Trait for T` syntax.
521517
(active, const_trait_impl, "1.42.0", Some(67792), None),
522518

0 commit comments

Comments
 (0)