Stream: t-compiler/rust-analyzer

Topic: Issue #1165 (local items support)


Brennan Vincent (Aug 31 2020 at 15:45, on Zulip):

Hi all, I am constantly hampered in my company's codebase by use statements in functions not working in rust-analyzer. I'm willing to spend some time working to fix this, if anyone on the r-a team is willing to give me a bit of pointers/mentoring.

Do folks think this is feasible, or would the fix to that issue be a really major project?

matklad (Aug 31 2020 at 15:50, on Zulip):

It is a rather large task yeah

matklad (Aug 31 2020 at 15:51, on Zulip):

Not insurmountably larger, rust-analyzer is small enough for this to be doable in a reasonable time frame, unlike rustc

matklad (Aug 31 2020 at 15:51, on Zulip):

But it does require somewhat deep understanding of how things work today, and a fair amount of time (I'd estimate this as 1/2 weeks maybe?)

matklad (Aug 31 2020 at 15:52, on Zulip):

Let me write-up an Design issue for this...

Brennan Vincent (Aug 31 2020 at 15:57, on Zulip):

Sounds good; I'm interested to see the issue once you write it up.

pksunkara (Aug 31 2020 at 16:06, on Zulip):

@matklad Do you think the issue of glob imports not being referenced correctly can be fixed alongside this?

Florian Diebold (Aug 31 2020 at 16:09, on Zulip):

@pksunkara what issue is that? I mean, maybe matklad knows it, but it's not clear to me (but probably, it's unrelated)

matklad (Aug 31 2020 at 16:19, on Zulip):

@Brennan Vincent filed https://github.com/rust-analyzer/rust-analyzer/issues/5922

pksunkara (Aug 31 2020 at 16:48, on Zulip):

@Florian Diebold it's about glob imports not working when imported locally. I thought it could be a separate issue but looks like it isn't and the GitHub issue created above covers it. Sorry about being a bit vague before.

Florian Diebold (Aug 31 2020 at 16:48, on Zulip):

ok yeah then it's the same thing

Last update: Jul 29 2021 at 21:45UTC