rust/compiler/rustc_mir_transform/src/coverage
Zalathar 867950f8c6 coverage: Move helper add_basic_coverage_block into a local closure
This also switches from `split_off(0)` to `std::mem::take` when emptying the
accumulated list of blocks, because `split_off(0)` handles capacity in a way
that is unintuitive when used in a loop.
2024-01-14 12:11:25 +11:00
..
spans coverage: Split out SpanFromMir from CoverageSpan 2024-01-05 12:53:23 +11:00
counters.rs coverage: Make coverage_counters a local variable 2023-12-30 22:36:11 +11:00
graph.rs coverage: Move helper add_basic_coverage_block into a local closure 2024-01-14 12:11:25 +11:00
mod.rs coverage: Add enums to accommodate other kinds of coverage mappings 2024-01-11 16:43:12 +11:00
query.rs remove redundant imports 2023-12-10 10:56:22 +08:00
spans.rs coverage: Add enums to accommodate other kinds of coverage mappings 2024-01-11 16:43:12 +11:00
tests.rs coverage: Make coverage_counters a local variable 2023-12-30 22:36:11 +11:00