racer-rust / racer

Rust Code Completion utility
MIT License
3.36k stars 278 forks source link

Does not complete anything in std::os::unix. #1117

Open andremarcais opened 4 years ago

andremarcais commented 4 years ago

I am not getting auto completions for anything in std::os::unix. racer complete std::os:: | grep unix has no output. Everything else in std::os seems to have correct auto completion.

I have not found anything on the web regarding this.

I am using racer 2.1.31 from the arch linux packages.

PeterDing commented 3 years ago

see #1126 #1125

Set the RUST_SRC_PATH to $(rustc --print sysroot)/lib/rustlib/src/rust/library, then reload env variables.