about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorEric Holk <ericholk@microsoft.com>2024-09-19 11:18:00 -0700
committerEric Holk <ericholk@microsoft.com>2024-09-19 15:34:00 -0700
commitb2b76fb70659f55d5e1842b28c7d6c451ae916d9 (patch)
tree2e1c55611416251497e8f1723f2ca929944bdcec /compiler/rustc_span
parenta73c8b1171be7af6c2e56d6a8c01b4d5b4eb61cb (diff)
Allow shortening reborrows
Generating a call to `as_mut()` let to more restrictive borrows than
what reborrowing usually gives us. Instead, we change the desugaring to
reborrow the pin internals directly which makes things more expressive.
Diffstat (limited to 'compiler/rustc_span')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 979294563d7..27ff9afa92c 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1418,7 +1418,6 @@ symbols! {
         pic,
         pie,
         pin,
-        pin_as_mut,
         pin_ergonomics,
         platform_intrinsics,
         plugin,