how to make clippy fix pedantic errors

188 views Asked by At

I can go

cargo clippy --fix

and it will fix default things

I can go

 cargo clippy -- -D clippy::pedantic

And it will complain about a lot more, but

cargo clippy --fix --allow-dirty  -- -D clippy::pedantic

does not fix things , and caps it off by saying

warning: `db65` (bin "db65") generated 415 warnings (run `cargo clippy --fix --bin "db65"` to apply 47 suggestions)

even though that suggested clippy command does nothing

0

There are 0 answers