-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Non-reproducible warnings #6597
Comments
@qrilka I'm assuming the reason why you said "which seems to be the same but probably with some deps updated" is the version of Clippy stayed |
@rail-rain is there any motivation behind this surprising version handling? |
@qrilka Can you explain the question? |
@camsteffen from what I was observing it looked like the same version of |
Rustup updates clippy so it is expected that clippy behavior will change. The issue with the version number not changing is fixed in #6526. I don't think there is anything actionable here but let me know if I'm missing something. |
I was running clippy on the project https://github.com/rust-secure-code/cargo-geiger
And the version I was using was
This resulted in the commit qrilka/cargo-geiger@ef23658 fixing 2 minor issues which seem to make sense to me. I was surprised to see that clippy complained about
match_like_matches_macro
at https://github.com/rust-secure-code/cargo-geiger/blob/31e66faecce961e932567823efbc190a21b11f5c/cargo-geiger/src/graph.rs#L28That made me update clippy and as a result I got a version
which seems to be the same but probably with some deps updated.
I expected to see the new
clippy
show me the same warnings and do not complain aboutmatch_like_matches_macro
anymore.Instead, I saw now warnings at all at the same code. Are clippy warnings supposed to be non-reproducible?
Meta
rustc -Vv
:rustc 1.49.0 (e1884a8e3 2020-12-29)
binary: rustc
commit-hash: e1884a8e3c3e813aada8254edfa120e85bf5ffca
commit-date: 2020-12-29
host: x86_64-unknown-linux-gnu
release: 1.49.0
The text was updated successfully, but these errors were encountered: