serenity
serenity copied to clipboard
Deny Clippy warnings in CI
With this, Rust and Clippy warnings should actually be caught in CI
Ah look what's failing the CI: now-functioning Clippy warnings!
Rust 1.64 brought some new lints, particularly one showstopper that I already addressed in #2174. But, as it stands, feel free to fix the rest with additional commits to this PR.
EDIT: Some of the lints were actually part of 1.65, my mistake. Right now, on 1.64, the current branch does not trigger clippy.
@kangalioo Thoughts on the suggested changes?
Totally forgot about them. Will do later
I think you missed warn(unused), unless it's implied by something else.
LGTM!