I'm learning to use rust,i am using vscode。 I have two cargo projects in my workspace,Why rust-analyzer only has an error message in the first project, but not in the second。
Is there any setting required?
You need to create workspace:
Cargo.toml
in your root project[workspace]
members = [
"./<your-cargo-project1>",
"./<your-cargo-project2>",
]