diff options
| author | Eric Holk <ericholk@microsoft.com> | 2024-09-19 11:18:00 -0700 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2024-09-19 15:34:00 -0700 |
| commit | b2b76fb70659f55d5e1842b28c7d6c451ae916d9 (patch) | |
| tree | 2e1c55611416251497e8f1723f2ca929944bdcec /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | a73c8b1171be7af6c2e56d6a8c01b4d5b4eb61cb (diff) | |
| download | rust-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_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
