Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function declaration marked as uncovered where body is covered #1410

Open
kemitix opened this issue Oct 21, 2023 · 1 comment
Open

Function declaration marked as uncovered where body is covered #1410

kemitix opened this issue Oct 21, 2023 · 1 comment
Assignees

Comments

@kemitix
Copy link

kemitix commented Oct 21, 2023

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.

  • 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.

@thetayloredman
Copy link

possible duplicate of #1192?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants