diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-01-08 18:21:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-08 18:21:02 +0100 |
| commit | 9ea76e44e51506f2588fed04b50ad7f2684d816d (patch) | |
| tree | 060faadbc12e318cf584a87c02fa64deb8306799 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 748effd71acd1ce614aebd8bb305b608ef9645d4 (diff) | |
| parent | 36ea00c20d24f3eafdaa5b79c2c16f28c2b4a76e (diff) | |
| download | rust-9ea76e44e51506f2588fed04b50ad7f2684d816d.tar.gz rust-9ea76e44e51506f2588fed04b50ad7f2684d816d.zip | |
Rollup merge of #135250 - lqd:simple-cleanups, r=matthewjasper
A couple simple borrowck cleanups This PR has a couple simple renamings: - it's been a long time since the mapping from `Location`s to `PointIndex`es was extracted from `RegionElements` into the `DenseLocationMap`, but only the types were renamed at the time. borrowck still refers to this map as `elements`. That's confusing, especially since sometimes we also use the mapping via `LivenessValues`, and makes more sense as `location_map` instead. - to clarify `LocationTable` is not as general as it sounds, and is only for datalog polonius. In this branch I didn't rename the handful of `location_table` fields and params to `polonius_table`, but can do that to differentiate it even more from `location_map`. I did try it locally and it looks worthwhile, so if you'd prefer I can also push it here. (Or we could even switch these datalog types and fields to even more explicit names) - to clarify the incomprehensible `AllFacts`, it is renamed to `PoloniusFacts`. These can be referred to as `facts` within the legacy polonius module, but as `polonius_facts` outside of it to make it clear that they're not about NLLs (nor are they about in-tree polonius but that'll be magically fixed when they're removed in the future) r? `@matthewjasper`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
