Spanview needs the relevant body_span used for coverage
The coverage body_span doesn't always match the function body_span.
This commit is contained in:
@@ -204,6 +204,7 @@ impl<'a, 'tcx> Instrumentor<'a, 'tcx> {
|
||||
self.mir_body,
|
||||
&self.basic_coverage_blocks,
|
||||
self.pass_name,
|
||||
body_span,
|
||||
&coverage_spans,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user