xd009642 / tarpaulin

A code coverage tool for Rust projects
https://crates.io/crates/cargo-tarpaulin
Apache License 2.0
2.5k stars 180 forks source link

Function declaration marked as uncovered where body is covered #1410

Open kemitix opened 11 months ago

kemitix commented 11 months ago

Coverage for the line with the function declaration is not included while the body is: image

Function is an implementation from a Trait:

impl<N: NetworkEnv> TasynRepository<N> for TrelloRepository {

This is only happening on one function. All others show full coverage as expected.

Expected behavior

I would expect the line with the function name, parameters and return type to be recorded as covered where the function body is covered.

thetayloredman commented 10 months ago

possible duplicate of #1192?