could not find `Cargo.toml` in `/` or any parent directory
See original GitHub issueThis error is popping up randomly when ctrl+clicking on symbols resolving to a .cargo
lib
- I do have
.cargo
imported as a project in the workspaces. - Most of the time, the operation correctly loads the source file in
.cargo
and does not produce an error
Issue Analytics
- State:
- Created 5 years ago
- Comments:44 (43 by maintainers)
Top Results From Across the Web
"could not find Cargo.toml in / or any parent directory" #1431
The library source file which causes the issue is a dependency of the project, so it falls into the "in-project" case. This happens...
Read more >"could not find cargo.toml in / or any parent directory" after ...
I am using VSCode as my text editor. Running on Windows 10. All the necessary extensions are installed and updated.
Read more >Could not find `Cargo.toml` when building a dependent crate ...
It turns out I had created all my rust packages(aka projects) up to that point using cargo new project-name --bin as shown here,...
Read more >Installed but cannot use or do anything due to "fragments" and ...
Installed but cannot use or do anything due to "fragments" and not being able to find "cargo. toml" in any parent folder. I'm...
Read more >试用Rust 编程| 李智维Zhiwei Li
cargo build error : could not find `Cargo.toml` in `/Users/lzw/ideas/curious-courses/program/run/rust` or any parent directory. 出错了。为什么。这表明cargo只 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
🍀 If you get other questions/issues.with Gerrit,feel free to ask for assistance (on the LSP4E bugs preferably)
Thanks for the reports and the Git attempt. Unfortunately, defaut Git is in trouble today, I suggest you use the URLs fir Gerrit instead, that seems to still work well, ar least the SSH one. See https://git.eclipse.org/r/#/admin/projects/lsp4e/lsp4e for the remote URLs