It seems that setting "rust-analyzer.check.workspace": false in .vscode/settings.json might do the trick.
"rust-analyzer.check.workspace": false
.vscode/settings.json