Module rustc_mir_transform::coverage::unexpand
source ยท Functionsยง
- Walks through the expansion ancestors of
original_span
to find a span that is contained inbody_span
and has the same [syntax context] asbody_span
. - Walks through the expansion ancestors of
original_span
to find a span that is contained inbody_span
and has the same [syntax context] asbody_span
. - Walks through the expansion ancestors of
original_span
to find a span that is contained inbody_span
and has the same syntax context asbody_span
. The ancestor that was traversed just before the matching span (if any) is also returned.