about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-10-04 13:47:32 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-10-04 16:46:20 +1000
commit89e84c053dd10a0dff22754cebc40ca917ebae82 (patch)
tree7aa5c3479608651a2986172edfb2292dd7fc10a6 /compiler/rustc_codegen_llvm/src/errors.rs
parent9ff5fc4ffbbe1e911527aa054e789b05ae55ffcc (diff)
downloadrust-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