-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could not find Cargo.toml
in /path/to/workspace
or any parent directory - when Rust project is nested
#13477
Comments
This appears to affect the pre-release version of |
me too |
This is back today after upgrading to rust 1.66. I'm using Atom btw.
|
This is back today after upgrading to rust 1.66. I'm using Atom on M1 Pro.
Reverting to the 1.65 toolchain fixed the issue for me. |
Oh great, the latest stable shipped with the rust-analyzer that has this issue ... there isn't much we can do here since we can't patch the component, you'll have to redirect the server binary you are using to either an older rust toolchain or use a manually installedserver. |
Steps to reproduce
dir1
dir2
dir2
initialize a rust project withcargo init
dir1
in VSCodemain.rs
fileDescription
Given a workspace structure
When saving a file I'm seeing an error popup with the content
cargo check failed Check the server logs for additional info.
In the server logs I see this
rust-analyzer version:
rust-analyzer version: 0.4.1257-standalone (43fb9563b 2022-10-23)
rustc version:
rustc 1.64.0 (a55dd71d5 2022-09-19)
The text was updated successfully, but these errors were encountered: