You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First you need to install clippy nightly (rustup component add clippy --toolchain nightly-x86_64-unknown-linux-gnu), and after that run it with: cargo +nightly clippy --fix -Z unstable-options
-Z unstable-options: Because of the error "Usage of --fix requires `-Z unstable-options"
--allow-dirty: Because the error "the working directory of this package has uncommitted changes, and cargo fix can potentially perform destructive changes; if you'd like to suppress this error pass --allow-dirty, --allow-staged, or commit the changes to these files:"
Right now, if clippy finds issues like excessive parens, it will complain.
But no invocation of clippy fix will fix it.
We need a way to fix ALL warnings that clippy generates.
The text was updated successfully, but these errors were encountered: