diff options
| author | Jules Bertholet <julesbertholet@quoi.xyz> | 2024-04-05 23:27:29 -0400 |
|---|---|---|
| committer | Jules Bertholet <julesbertholet@quoi.xyz> | 2024-04-15 23:26:22 -0400 |
| commit | ef1d084c0b5b0ff7143bbca966442cd24151313b (patch) | |
| tree | 15c2881af2d553bc9ada9f4f5159dca00d187143 /compiler/rustc_feature/src | |
| parent | 63f70b3d104e20289a1a0df82747066c3d85b9a1 (diff) | |
| download | rust-ef1d084c0b5b0ff7143bbca966442cd24151313b.tar.gz rust-ef1d084c0b5b0ff7143bbca966442cd24151313b.zip | |
Match ergonomics 2024: `mut` doesn't reset binding mode
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 e6b19817de3..2a753af9387 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. + (unstable, mut_dont_reset_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. |
