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.
This commit is contained in:
parent
a73c8b1171
commit
b2b76fb706
8 changed files with 77 additions and 58 deletions
|
@ -1418,7 +1418,6 @@ symbols! {
|
|||
pic,
|
||||
pie,
|
||||
pin,
|
||||
pin_as_mut,
|
||||
pin_ergonomics,
|
||||
platform_intrinsics,
|
||||
plugin,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue