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

Support for #[no_coverage] #860

Closed
xd009642 opened this issue Oct 24, 2021 · 1 comment · Fixed by #866
Closed

Support for #[no_coverage] #860

xd009642 opened this issue Oct 24, 2021 · 1 comment · Fixed by #866
Assignees
Labels
enhancement good-first-issue Source-analysis Issues relating to analysis of a projects source code.

Comments

@xd009642
Copy link
Owner

https://doc.rust-lang.org/nightly/unstable-book/language-features/no-coverage.html

This should be a relatively easy change to the attributes handling code in the source_analysis package. It will require adding no_coverage to the list of attributes checked and adding a test in the source_analysis tests module

@xd009642 xd009642 added enhancement good-first-issue Source-analysis Issues relating to analysis of a projects source code. labels Oct 24, 2021
@xd009642 xd009642 self-assigned this Oct 24, 2021
repnop added a commit to repnop/tarpaulin that referenced this issue Oct 29, 2021
This adds the unstable rustc attribute for skipping coverage of items.

Fixes xd009642#860.
repnop added a commit to repnop/tarpaulin that referenced this issue Oct 29, 2021
This adds the unstable rustc attribute for skipping coverage of items.

Fixes xd009642#860.
xd009642 pushed a commit that referenced this issue Oct 30, 2021
This adds the unstable rustc attribute for skipping coverage of items.

Fixes #860.
@mxfactorial
Copy link

rust-lang/rust#114656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good-first-issue Source-analysis Issues relating to analysis of a projects source code.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants