diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-08-19 14:18:22 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-19 14:18:22 +1000 |
| commit | 181480d5c40e5bbff1bd05c90951457b3f0449ee (patch) | |
| tree | c6f192ddfa77433e236c1afa9574ce685f038668 /compiler/rustc_feature/src | |
| parent | d0fa5c7af7b1f5d2abd4e7898baa7c15a6a09daa (diff) | |
| parent | c6db6f20ff4b9ea5bbf4e938ba98c448615cb41f (diff) | |
| download | rust-181480d5c40e5bbff1bd05c90951457b3f0449ee.tar.gz rust-181480d5c40e5bbff1bd05c90951457b3f0449ee.zip | |
Rollup merge of #145013 - fee1-dead-contrib:push-vwvsqsqnrxqm, r=nnethercote
overhaul `&mut` suggestions in borrowck errors * This refactors the logic so that it does not use fuzzy string matching for suggestions; it instead uses information directly from MIR. * If something comes from a custom `Index` impl for which the `IndexMut` trait does not apply, do not suggest adding `mut` after `&`. * Suggest `get_mut` with `unwrap` if error is fired on `BTreeMap` or `HashMap`. Supersedes rust-lang/rust#144018 cc ```@xizheyin``` Closes rust-lang/rust#143732
Diffstat (limited to 'compiler/rustc_feature/src')
0 files changed, 0 insertions, 0 deletions
