1
Fork 0
rust/compiler/rustc_mir_transform/src/coverage/spans
Zalathar 44c8f55a6b coverage: Rename is_closure to is_hole
When refining covspans, we don't specifically care which ones represent
closures; we just want to know which ones represent "holes" that should be
carved out of other spans and then discarded.

(Closures are currently the only source of hole spans, but in the future we
might want to also create hole spans for nested items and inactive `#[cfg(..)]`
regions.)
2024-02-23 19:56:00 +11:00
..
from_mir.rs coverage: Rename is_closure to is_hole 2024-02-23 19:56:00 +11:00