Hi, @jwilm
Sorry about the #80 that the fix is not right. I was about to learn Rust at that time, and I saw some code snippets like Session::new(..., None) from racer-rust/racer, so I just copy the snippets without fullly understanding of the code.
Actually, the second arg should be full path of the source file, otherwise racer will not return completions for cargo crates.
In addition, add 'dyn' to some code to get rid of the deprecated warnings
Hi, @jwilm Sorry about the #80 that the fix is not right. I was about to learn Rust at that time, and I saw some code snippets like Session::new(..., None) from racer-rust/racer, so I just copy the snippets without fullly understanding of the code.
Actually, the second arg should be full path of the source file, otherwise racer will not return completions for cargo crates.
In addition, add 'dyn' to some code to get rid of the deprecated warnings