Is that by design that Clippy or Cargo check shows warnings only if file is modified? First run - shows warnings, second - no warnings.
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.
1 Like