Missing coverage for entire function with #[tracing::instrument(...)] #110486
Labels
A-code-coverage
Area: Source-based code coverage (-Cinstrument-coverage)
C-bug
Category: This is a bug.
I tried this code:
And created a coverage report of it with:
I expected to see the function
fun
marked as covered.Instead, it is shown as not being possible to cover:
Without the
#[tracing::instrument(...)]
it works fine:Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: