rust/compiler/rustc_mir_transform/src/coverage
Jacob Pratt 6aa015ae9d
Rollup merge of #136610 - Jarcho:range_idx, r=Noratrieb
Allow `IndexSlice` to be indexed by ranges.

This comes with some annoyances as the index type can no longer inferred from indexing expressions. The biggest offender for this is `IndexVec::from_fn_n(|idx| ..., n)` where the index type won't be inferred from the call site or any index expressions inside the closure.

My main use case for this is mapping a `Place` to `Range<Idx>` for value tracking where the range represents all the values the place contains.
2025-02-24 02:11:32 -05:00
..
counters Rollup merge of #136053 - Zalathar:defer-counters, r=saethlin 2025-02-10 00:51:49 -08:00
spans coverage: Defer part of counter-creation until codegen 2025-02-06 21:44:31 +11:00
counters.rs Rollup merge of #136610 - Jarcho:range_idx, r=Noratrieb 2025-02-24 02:11:32 -05:00
graph.rs Rollup merge of #136610 - Jarcho:range_idx, r=Noratrieb 2025-02-24 02:11:32 -05:00
mappings.rs coverage: Defer part of counter-creation until codegen 2025-02-06 21:44:31 +11:00
mod.rs coverage: Make HolesVisitor::visit_hole_span a regular method 2025-02-19 14:02:29 +11:00
query.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
spans.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
tests.rs Rustfmt 2025-02-08 22:12:13 +00:00
unexpand.rs coverage: Treat await similar to a macro 2024-09-06 17:01:59 +12:00