diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-04 13:47:32 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-04 16:46:20 +1000 |
| commit | 89e84c053dd10a0dff22754cebc40ca917ebae82 (patch) | |
| tree | 7aa5c3479608651a2986172edfb2292dd7fc10a6 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 9ff5fc4ffbbe1e911527aa054e789b05ae55ffcc (diff) | |
| download | rust-89e84c053dd10a0dff22754cebc40ca917ebae82.tar.gz rust-89e84c053dd10a0dff22754cebc40ca917ebae82.zip | |
Use `Rc` less in `MirBorrowckCtxt`.
The `regioncx` and `borrow_set` fields can be references instead of `Rc`. They use the existing `'a` lifetime. This avoids some heap allocations and is a bit simpler.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
