about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-10-06 22:46:04 +1100
committerZalathar <Zalathar@users.noreply.github.com>2023-10-22 20:11:48 +1100
commit86b55cccffa6f8c49747335a43abb04376d1e06f (patch)
treeda145892daaddacd5b9c7022c8a7f1756ca214b9 /compiler/rustc_codegen_llvm/src/errors.rs
parent371883a05acf04be9fb8d3c0766990ba56cd22e3 (diff)
downloadrust-86b55cccffa6f8c49747335a43abb04376d1e06f.tar.gz
rust-86b55cccffa6f8c49747335a43abb04376d1e06f.zip
coverage: Fetch expressions and mappings separately
The combined `get_expressions_and_counter_regions` method was an artifact of
having to prepare the expressions and mappings at the same time, to avoid
ownership/lifetime problems with temporary data used by both.

Now that we have an explicit transition from `FunctionCoverageCollector` to the
final `FunctionCoverage`, we can prepare any shared data during that step and
store it in the final struct.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions