Closed dannyfritz closed 6 years ago
following https://github.com/mehcode/atom-ide-rust#multi-crate-projects made the error go away, but I don't seem to be getting any features outside of code formatting now.
Ran a cargo build
and rust-ide started working again. Sorry for the spam! Closing issue and am a happy camper. 👍
Glad you worked through it!
It's fair enough to report it though as it still isn't idea how we handle this. We've gone from just not working, to erroring without telling you why, to finally erroring and telling you why (https://github.com/mehcode/atom-ide-rust/issues/49).
The message comes from Rls, but perhaps we can do more. I'll raise an issue as a placeholder.
I get an error when I try to edit a folder that contains many crates. So the
Cargo.toml
files are not at the root, but in the folders. Seems RLS is checking for aCargo.toml
at the root of my folder instead of starting where mymain.rs
file is.Two examples of multi-crate repos:
This is the error: