Open Trolldemorted opened 1 year ago
I think cargo clippy
just runs the default target whereas cargo clippy --fix
runs wtih --all-targets
by default, so it is also going to check tests for example.
should I open a dedicated issue for that?
looks like clippy complaining about a redundant clone that it not redundant at all. can you open the issue on the rust-lang/clippy repository instead?
I tried to use cargo clippy on this code: https://github.com/scfia/scfia-lib/tree/5e75b6da14cc00b925f2c83a4179b89ad85d8592
I expected to see this happen:
cargo clippy --fix
does not fail.cargo clippy --fix
does not try to fix things thatcargo clippy
does not complain about.Instead, this happened:
Meta
rustc --version --verbose
: