I'm getting the following error message when I start up VS Code on an existing project. What's it doing looking in the root directory, of all places?
[ERROR rust_analyzer::main_loop] FetchWorkspaceError:
rust-analyzer failed to load workspace: Failed to read Cargo metadata from Cargo.toml file c:\Cargo.toml, Some(Version { major: 1, minor: 68, patch: 2 }): Failed to run "cargo" "metadata" "--format-version" "1" "--manifest-path" "c:\\Cargo.toml" "--filter-platform" "x86_64-pc-windows-msvc"
: cargo metadata
exited with an error: error: manifest path c:\Cargo.toml
does not exist
Oh, and how do I fix the problem? I tried uninstalling and reinstalling the rust-analyzer extension, shutting down and restarting the machine, etc.
TIA!