Stream: t-compiler/wg-rls-2.0

Topic: `use` auto-completion


Leo Le Bouter (Nov 16 2019 at 06:54, on Zulip):

hello, should use statement auto-completion be expected to work?

matklad (Nov 16 2019 at 09:09, on Zulip):

Paths in use statements should be completed: use std::coll -> use std::collection. The use keyword itself is not yet completed, this should be fixed

matklad (Nov 16 2019 at 09:09, on Zulip):

Hello!

Leo Le Bouter (Nov 17 2019 at 03:01, on Zulip):

hey @matklad , well on my side it's not, any way I could help troubleshooting?

Leo Le Bouter (Nov 17 2019 at 08:56, on Zulip):

@matklad I'm getting these in the output : async fn is not permitted in the 2015 edition

Leo Le Bouter (Nov 17 2019 at 09:03, on Zulip):

hmm things are working now. Don't know why.

matklad (Nov 17 2019 at 09:27, on Zulip):

Probably the cargo project wasn't imported properly

Leo Le Bouter (Nov 20 2019 at 06:34, on Zulip):

@matklad Well! I am using a pretty standard setup with VSCode. How could that happen? I just opened a folder with my git repo containing Cargo.toml etc.

matklad (Nov 20 2019 at 06:36, on Zulip):

It's hard to tell retroactively, but a couple of reasons why this could have happened:

Leo Le Bouter (Nov 21 2019 at 08:01, on Zulip):

hmm, for missing rust-src, it's not possible because I didnt switch toolchain or install anything when it started working again, and I have rust-src installed on all my toolchains
and I didnt add any new binary

Last update: Dec 12 2019 at 00:45UTC