diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-29 14:21:40 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-11-19 11:33:48 +1100 |
| commit | 952c6d5c965bace1b329537579c287de7569c621 (patch) | |
| tree | 282009ca8b00342fba612ecb27137eda686a93a2 /compiler/rustc_pattern_analysis/src/rustc | |
| parent | ed11fbe5dfc4abab912f5b6b80191730d9e64e61 (diff) | |
| download | rust-952c6d5c965bace1b329537579c287de7569c621.tar.gz rust-952c6d5c965bace1b329537579c287de7569c621.zip | |
Clean up `UniversalRegions`.
There is an `Rc<UniversalRegions>` within `UniversalRegionRelations`, and yet the two types get passed around in tandem a lot. This commit makes `UniversalRegionRelations` own `UniversalRegions`, removing the `Rc` (which wasn't truly needed) and the tandem-passing. This requires adding a `universal_relations` method to `UniversalRegionRelations`, and renaming a couple of existing methods producing iterators to avoid a name clash.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/rustc')
0 files changed, 0 insertions, 0 deletions
