question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

could not find `Cargo.toml` in `/` or any parent directory

See original GitHub issue

This error is popping up randomly when ctrl+clicking on symbols resolving to a .cargo lib

selection_155

  • 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:closed
  • Created 5 years ago
  • Comments:44 (43 by maintainers)

github_iconTop GitHub Comments

1reaction
mickaelistriacommented, Aug 3, 2019

🍀 If you get other questions/issues.with Gerrit,feel free to ask for assistance (on the LSP4E bugs preferably)

1reaction
mickaelistriacommented, Aug 2, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found