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?
It is a rather large task yeah
Not insurmountably larger, rust-analyzer is small enough for this to be doable in a reasonable time frame, unlike rustc
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?)
Let me write-up an
Design issue for this...
Sounds good; I'm interested to see the issue once you write it up.
@matklad Do you think the issue of glob imports not being referenced correctly can be fixed alongside this?
@pksunkara what issue is that? I mean, maybe matklad knows it, but it's not clear to me (but probably, it's unrelated)
@Brennan Vincent filed https://github.com/rust-analyzer/rust-analyzer/issues/5922
@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.
ok yeah then it's the same thing