You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
After rust-src is seemingly successfully installed, I still get error from emacs/racer about failing to find the sources at the expected path. And sure enough that path doesn't exist:
eldoc error: (user-error No such directory: │
/home/user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src. Please set ‘racer-rust-src-path’ or ‘RUST_SRC_PATH’)
The actual tree there is as follows:
$ ls ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/
Cargo.lock library
Steps
Install rust-src
edit a rust file with a configured emacs editor
emacs keeps complaining about sources not available
The text was updated successfully, but these errors were encountered:
The directory was renamed to library. Racer was updated in racer-rust/racer#1130 to use the new directory, but it looks like the README was not updated. Perhaps file an issue on the racer repo?
EDIT: Or, you may want to check if your installation of racer is out of date, I'm not sure if a new version is available.
Just an FYI for whoever stumbles on this with a similar configuration (emacs + rustic + rls), it seems updating racer has no effect, because in this case rls handles the completion and it uses racer as a library to that effect, and it seems it's still built against an older version of racer.
Problem
After
rust-src
is seemingly successfully installed, I still get error from emacs/racer about failing to find the sources at the expected path. And sure enough that path doesn't exist:The actual tree there is as follows:
Steps
rust-src
The text was updated successfully, but these errors were encountered: