about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/removed.rs
diff options
context:
space:
mode:
authorJules Bertholet <julesbertholet@quoi.xyz>2024-05-15 16:55:54 -0400
committerJules Bertholet <julesbertholet@quoi.xyz>2024-05-15 16:55:54 -0400
commit0746577fa27f2a322f3ab5f4e85c6eeb51c6fc6c (patch)
tree4f1999548a347cc6067d7c95677a09779e882038 /compiler/rustc_feature/src/removed.rs
parenteb91f3b0513acf34701d8598c1312875c6e489a5 (diff)
downloadrust-0746577fa27f2a322f3ab5f4e85c6eeb51c6fc6c.tar.gz
rust-0746577fa27f2a322f3ab5f4e85c6eeb51c6fc6c.zip
Gate implicit mutable by-reference bindings behind `mut ref`
Diffstat (limited to 'compiler/rustc_feature/src/removed.rs')
-rw-r--r--compiler/rustc_feature/src/removed.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/removed.rs b/compiler/rustc_feature/src/removed.rs
index f1afde31803..aea447b2aff 100644
--- a/compiler/rustc_feature/src/removed.rs
+++ b/compiler/rustc_feature/src/removed.rs
@@ -128,6 +128,8 @@ declare_features! (
     /// Allows the use of type alias impl trait in function return positions
     (removed, min_type_alias_impl_trait, "1.56.0", Some(63063),
      Some("removed in favor of full type_alias_impl_trait")),
+    /// Make `mut` not reset the binding mode on edition >= 2024.
+    (removed, mut_preserve_binding_mode_2024, "1.79.0", Some(123076), Some("superseded by `ref_pat_eat_one_layer_2024`")),
     (removed, needs_allocator, "1.4.0", Some(27389),
      Some("subsumed by `#![feature(allocator_internals)]`")),
     /// Allows use of unary negate on unsigned integers, e.g., -e for e: u8