Skip to content

Commit 98685a4

Browse files
committed
Add new fn_span to TerminatorKind::Call instance
1 parent 163e585 commit 98685a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_mir/transform/instrument_coverage.rs

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ pub fn instrument_coverage<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
5757
destination: Some((Place::from(temp), new_block)),
5858
cleanup: None,
5959
from_hir_call: false,
60+
fn_span: span,
6061
},
6162
);
6263

0 commit comments

Comments
 (0)