Stream: t-compiler/wg-rls-2.0

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):

https://github.com/rust-lang/rfcs/blob/master/text/2582-raw-reference-mir-operator.md

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: Sep 22 2020 at 01:45UTC