Stream: t-compiler/rust-analyzer

Topic: Closure expression AST

std::Veetaha (Apr 19 2020 at 22:48, on Zulip):

First of all, I think this is a mistake that there is a static ketword attached to LambdaExpr ast node here, secondly I'd suggest to unify the naming to closure or lambda everywhere, because in ra_hir_ty it is called closure.

std::Veetaha (Apr 20 2020 at 00:41, on Zulip):

Also what is the meaning of T![raw] in RefExpr @matklad?

Emil Lauridsen (Apr 20 2020 at 01:08, on Zulip):

I believe you can do &raw val to get a *T instead of a normal reference

Emil Lauridsen (Apr 20 2020 at 01:09, on Zulip):

matklad (Apr 20 2020 at 07:24, on Zulip):

I think static is an (old?) syntax for !Pin generators, or something like that

Last update: Jul 29 2021 at 21:45UTC