about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-10-03 13:58:13 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-10-08 16:28:58 +1100
commite8a0bd65498976656fbb7fff7d74fbc91cc442d1 (patch)
tree16791640b2daa6ce0cc4c7ddea2392959cbdbe8f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent85507cffc32de9211f03b5e257acfad4a24fcea5 (diff)
downloadrust-e8a0bd65498976656fbb7fff7d74fbc91cc442d1.tar.gz
rust-e8a0bd65498976656fbb7fff7d74fbc91cc442d1.zip
Remove unnecessary lifetime from `LeakCheck`.
`LeakCheck` can own `mini_graph` and `rcc` instead of holding references
to them. This requires inlining `assign_scc_value` to avoid a borrowck
error, but that's fine because it has a single call site.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions