Stream: t-compiler/rust-analyzer

Topic: Secret IR

matklad (Jul 29 2020 at 22:02, on Zulip):

@Florian Diebold I've heard you are working on a new IR. How much does it depend on the ast? I'd like to cleanup our AST structure, as an early prep for sharing code with rustc (gosh, I can use this excuse to justify all kinds of things!), so I might be mass-renaming ast types soon.

matklad (Jul 29 2020 at 22:03, on Zulip):

Will it interfere with your work?

matklad (Jul 29 2020 at 22:12, on Zulip):

I guess, I might as well tag the whole of @WG-rls2.0 :)

PSA -- I want to change a lot of names in ast, so expect painful rebases :-)

See for details.

matklad (Jul 29 2020 at 22:16, on Zulip):

Also, lol, apparently rename on ast::ModuleItem just worked? There are no compile errors!

Jeremy Kolb (Jul 29 2020 at 22:21, on Zulip):

However this ends up looking I hope there's a module called secretir

matklad (Jul 29 2020 at 22:22, on Zulip):

Well, today @Jonas Schievink found a bonus fourth namespace in rustc...

Florian Diebold (Jul 30 2020 at 06:50, on Zulip):

@matklad it doesn't depend on the AST at all, just on TypeRef

Last update: Jul 28 2021 at 04:45UTC