mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 11:17:04 +00:00

This shows one small benefit of separating `BcbCounter` from `CoverageKind`. The function source hash will be the same for all counters within a function, so instead of passing it through `CoverageCounters` and storing it in every counter, we can just supply it during the final conversion to `CoverageKind`.