Skip to main content
extract_hole_spans_from_hir
rustc_
mir_
transform
1.101.0-beta.4
(0377038f9 2026-11-25)
In rustc_
mir_
transform::
coverage::
hir_
info
rustc_mir_transform
::
coverage
::
hir_info
Function
extract_
hole_
spans_
from_
hir
Copy item path
Source
fn extract_hole_spans_from_hir<'tcx>( tcx:
TyCtxt
<'tcx>, hir_body: &
Body
<'tcx>, ) ->
Vec
<
Span
>