Can I use clippy instead of rustc to check errors with official vscode extension?

#1

I found clippy is much faster than rustc which need to compile the whole project before giving out error information. Sometimes I just need a quick fix like adding a & to a var and I have to wait for 2-5 secs to see the next error. I feel kind of inefficient by waiting.

I knew that I can turn on clippy in preferences, but rustc always runs. Clippy can only give some additional information.

#2

You can try cargo check to check if types match

#3

Last time I checked the extension already only calls cargo check. Perhaps there are some performance issues?