Closed BusyJay closed 5 years ago
@BusyJay from my own local experimentation I think that .travis.yml
needs to change for clippy as well: instead of passing -D clippy
it should be -D clippy::all
.
Without that change clippy gives an ominous warning:
Checking fail v0.2.1 (/home/brian/pingcap/fail-rs)
warning: lint name `clippy` is deprecated and does not have an effect anymore. Use: clippy::all
|
= note: requested on the command line with `-D clippy`
Finished dev [unoptimized + debuginfo] target(s) in 0.65s
So I think without that change, clippy is not doing the same aggressive checks it was previously. Can you also make that change as part of this PR?
Done, PTAL.
Keep consistent code style with latest stable rust.