-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Body of if let
is detected as not covered (false positive).
#1644
Comments
So on mac and non linux x86 systems the coverage instrumentation is the same in the Rust compiler (the llvm coverage) by default. This is essentially LLVM instrumentation put by instructions and things like constant folding etc can remove them and then I can't do anything about it. It's generally worthwhile in these cases to check if it's still an issue with |
@xd009642 I just installed It gave me the correct coverage: |
tl;dr
Though actually there is a unit test for it, the body of
if let
is detected as not covered:Code
The only source code I have is this
src/main.rs
:Used Command
Environments
Rust 1.82.0
tarpaulin 0.31.2
macOS Sonoma 14.7 (M3 mac)
The text was updated successfully, but these errors were encountered: