You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way it is implemented, it handles only expressions.
It should use a MacResult type capable of producing any AST node from an arbitrary token reader.
feat: Create an assist to convert closure to freestanding fn
The assist converts all captures to parameters.
Closesrust-lang#17920.
This was more work than I though, since it has to handle a bunch of edge cases...
Based on rust-lang#17941. Needs to merge it first.
test.rs:
test.inc:
Compiler error:
The text was updated successfully, but these errors were encountered: