parse const closures
This commit is contained in:
parent
56ee65aeb6
commit
4fb10c0ce4
16 changed files with 63 additions and 12 deletions
|
@ -533,6 +533,7 @@ impl<'a> ExtCtxt<'a> {
|
|||
ast::ExprKind::Closure(Box::new(ast::Closure {
|
||||
binder: ast::ClosureBinder::NotPresent,
|
||||
capture_clause: ast::CaptureBy::Ref,
|
||||
constness: ast::Const::No,
|
||||
asyncness: ast::Async::No,
|
||||
movability: ast::Movability::Movable,
|
||||
fn_decl,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue