Cargo check and clippy not showing warnings on second run


#1

Is that by design that Clippy or Cargo check shows warnings only if file is modified? First run - shows warnings, second - no warnings.


#2

I believe that this is because of its scheme that’s similar to being compiled, in that you only compile files that have been modified (I think that this is called incremental compilation). If you cargo clean first, then you’ll definitely get an output.