about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-16 17:54:42 +0200
committerGitHub <noreply@github.com>2024-04-16 17:54:42 +0200
commitdc40da83e3326ca72f7f34f0a3bf33e3c50fb3c7 (patch)
tree83489a9efc831bf32cd5d07d6219e83b24e2a155 /compiler/rustc_span/src
parentf54219c4736a831e091f3c35ad8cf3326a4da715 (diff)
parent7a3211726bb101ab0c0138b2dcff44a175ff74c4 (diff)
downloadrust-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_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 19c3fc58943..be5b0b663c1 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1194,6 +1194,7 @@ symbols! {
         multiple_supertrait_upcastable,
         must_not_suspend,
         must_use,
+        mut_preserve_binding_mode_2024,
         mut_ref,
         naked,
         naked_functions,