rust-lang / rls

Repository for the Rust Language Server (aka RLS)
Other
3.51k stars 257 forks source link

"could not find cargo.toml in / or any parent directory" after cargo run #1757

Closed shivansh193 closed 2 years ago

shivansh193 commented 2 years ago

I made the file by using cargo new project-name --bin so such issue should not have occurred, Further I tried installing and reinstalling all the rust extensions but still ended up facing the same issue constantly Additional Information:

  1. I am using VSCode as my text editor
  2. Running on Windows 10
  3. All the necessary extensions are installed and updated.