Skip to main content
extract_hole_spans_from_hir
rustc_
mir_
transform
1.95.0-nightly
(366a1b93e 2026-02-03)
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
>