tarpaulin
tarpaulin copied to clipboard
Function declaration marked as uncovered where body is covered
Coverage for the line with the function declaration is not included while the body is:
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.
-
uname -a
:Linux dagon 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux
-
rustc --version
rustc 1.73.0 (cc66ad468 2023-10-03)
cargo tarpaulin --tests --line --workspace --engine LLvm --out HTML \
--output-dir ./target/coverage --skip-clean --fail-under 89
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.
possible duplicate of #1192?