Parse closure binders
This is first step in implementing RFC 3216. - Parse `for<'a>` before closures in ast - Error in lowering - Add `closure_lifetime_binder` feature
This commit is contained in:
parent
fbdb07f4e7
commit
40ae7b5b8e
24 changed files with 288 additions and 39 deletions
|
@ -520,6 +520,7 @@ impl<'a> ExtCtxt<'a> {
|
|||
self.expr(
|
||||
span,
|
||||
ast::ExprKind::Closure(
|
||||
ast::ClosureBinder::NotPresent,
|
||||
ast::CaptureBy::Ref,
|
||||
ast::Async::No,
|
||||
ast::Movability::Movable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue