about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
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_llvm/llvm-wrapper/RustWrapper.cpp
parenta73c8b1171be7af6c2e56d6a8c01b4d5b4eb61cb (diff)
downloadrust-b2b76fb70659f55d5e1842b28c7d6c451ae916d9.tar.gz
rust-b2b76fb70659f55d5e1842b28c7d6c451ae916d9.zip
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_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions