I have rust-analyzer extension in vscode.
In settings i changed Rust-analyzer › Check On Save: Command from check to clippy.
Rust-analyzer › Check On Save: Command
check
clippy