How to force clippy

I was surprised to see that clippy doesn't always return warnings so I've search a bit and found https://github.com/rust-lang/rust-clippy/issues/2604

so it's supposed to be fixed quite some time ago, but I still have to do touch main.rs; cargo clippy to have the lints.

What am I missing?

Did you update your toolchain?

Which version of Rust and clippy are you using?

For Rust, I'm up to date, does rustup update updates clippy as well?

❯ cargo clippy -- --version
clippy 0.0.212 (4ee12063 2020-02-01)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.