Open Zehua-Chen opened 5 years ago
I'm experiencing the same thing.
My setup:
ditto, was going to raise and issue It does work with CLion and the intelli-j rust plugin.
Is this an RLS issue or a vscode issue?
CLion + rust has a whole bunch of other issues...
I have this as well. Experienced on Ubuntu 19.10/VSCode and Windows with same configuration.
rust-analyzer fixes this issue!
I am running:
1.35.0 (49efc06 2019-04-06)
Rust (rls) 0.6.1
In my integration tests, autocomplete does not seem to be able to provide completions for items from my library target. However, autocomplete works fine for items within the integration test.
Cargo.toml
src/lib.rs
tests/test.rs
Although this compiles just fine.
Put
extern crate mylib
at the top of thetest.rs
fixes the issue and still compiles just fine, but the tutorial doesn't use them. It just usesuse mylib;
Edit:
I
rustup
to 1.36, still having the same problem.