[[settings.json]]で以下を設定。
```json
"rust-analyzer.checkOnSave.command": "clippy"
```
## 参考
- [How to use Clippy in VS Code with rust\-analyzer? \- help \- The Rust Programming Language Forum](https://users.rust-lang.org/t/how-to-use-clippy-in-vs-code-with-rust-analyzer/41881)