Stream: t-compiler/rust-analyzer

Topic: Use in function


Jack Huey (Oct 04 2020 at 00:02, on Zulip):

Wasn't sure if this is known or not, but are uses in functions supposed to work?
Like here, I've done use chalk_ir::TyData at the top of the function, but later on, I get {unknown} around TyData::Alias and such

Lukas Wirth (Oct 04 2020 at 01:43, on Zulip):

If I recall correctly imports in inner scopes that aren't modules don't work currently

Laurențiu (Oct 04 2020 at 07:25, on Zulip):

They don't: https://github.com/rust-analyzer/rust-analyzer/issues/1165

Jack Huey (Oct 04 2020 at 16:27, on Zulip):

Oof. Missed that when I was looking for an issue

Last update: Jul 28 2021 at 03:45UTC