diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-04-16 17:54:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-16 17:54:42 +0200 |
| commit | dc40da83e3326ca72f7f34f0a3bf33e3c50fb3c7 (patch) | |
| tree | 83489a9efc831bf32cd5d07d6219e83b24e2a155 /compiler/rustc_feature/src | |
| parent | f54219c4736a831e091f3c35ad8cf3326a4da715 (diff) | |
| parent | 7a3211726bb101ab0c0138b2dcff44a175ff74c4 (diff) | |
| download | rust-dc40da83e3326ca72f7f34f0a3bf33e3c50fb3c7.tar.gz rust-dc40da83e3326ca72f7f34f0a3bf33e3c50fb3c7.zip | |
Rollup merge of #123535 - Jules-Bertholet:mut_dont_reset_binding_mode_2024, r=Nadrieril
Match ergonomics 2024: `mut` doesn't reset binding mode r? ``@Nadrieril`` cc https://github.com/rust-lang/rust/issues/123076 ``@rustbot`` label A-edition-2024 A-patterns
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 7986add68b7..71a1113a649 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -533,6 +533,8 @@ declare_features! ( (unstable, more_qualified_paths, "1.54.0", Some(86935)), /// Allows the `#[must_not_suspend]` attribute. (unstable, must_not_suspend, "1.57.0", Some(83310)), + /// Make `mut` not reset the binding mode on edition >= 2024. + (incomplete, mut_preserve_binding_mode_2024, "CURRENT_RUSTC_VERSION", Some(123076)), /// Allows `mut ref` and `mut ref mut` identifier patterns. (incomplete, mut_ref, "CURRENT_RUSTC_VERSION", Some(123076)), /// Allows using `#[naked]` on functions. |
