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