☰
In rustc_mir_transform::coverage
In rustc_mir_transform::coverage
Modules
counters
debug
graph
query
spans
Structs
Error
InstrumentCoverage
Instrumentor
Functions
fn_sig_and_body
get_body_span
hash_mir_source
inject_edge_counter_basic_block
inject_intermediate_expression
inject_statement
make_code_region
?
Function
rustc_mir_transform
::
coverage
::
get_body_span
source
·
[
−
]
fn get_body_span<'tcx>(
tcx:
TyCtxt
<'tcx>,
hir_body: &
Body
<'tcx>,
mir_body: &mut
Body
<'tcx>
) ->
Span