mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00
![]() This code was calling `sort_unstable_by`, but failed to impose a total order on the initial spans. That resulted in unpredictable handling of closure spans, producing inconsistencies in the coverage maps and in user-visible coverage reports. This patch fixes the problem by always sorting closure spans before otherwise-identical non-closure spans, and also switches to a stable sort in case the ordering is still not total. |
||
---|---|---|
.. | ||
test_macros | ||
counters.rs | ||
debug.rs | ||
graph.rs | ||
mod.rs | ||
query.rs | ||
spans.rs | ||
tests.rs |