diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-03 13:58:13 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-08 16:28:58 +1100 |
| commit | e8a0bd65498976656fbb7fff7d74fbc91cc442d1 (patch) | |
| tree | 16791640b2daa6ce0cc4c7ddea2392959cbdbe8f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 85507cffc32de9211f03b5e257acfad4a24fcea5 (diff) | |
| download | rust-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
