Installed rustup via the main rust website .sh script,
did rustup toolchain add nightly, then cargo +nightly install racer
Now trying to use in emacs and get this error:
Company: backend company-capf user-error: No such directory: /Users/edgar/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src. Please set ‘racer-rust-src-path’ or ‘RUST_SRC_PATH’
Just got started with rust for first time.
Installed rustup via the main rust website .sh script,
did
rustup toolchain add nightly
, thencargo +nightly install racer
Now trying to use in emacs and get this error:
value of
racer-rust-src-path
:ELISP> racer-rust-src-path "/Users/edgar/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src"
But this is odd because in
/Users/edgar/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib
I only have:
and similarly so for the other toolchain, the nightly one.