by killercup · 11y ago · 0 comments
Yes! And that way I don't have to _trust anyone_ (including myself) to remember them.
I can't wait for the day where I can safely run clippy on stable and fail my tests when code is formatted incorrectly (according to rustfmt) :)
Instead, make clippy an optional feature, and compile with `cargo build --features=clippy` on your CI on nightly.
Yeah, that's what I'm doing but that is also the reason why nightly is an allowed failure on Travis…
I have high hopes for compiler plugins after the current internal refactorings (HIR, MIR), though :)
And clippy uses a _lot_ of internals, so even if a plugin interface stabilizes there's no guarantee clippy will.