Fix test using ExprKind::Closure

This commit is contained in:
Taylor Cramer 2018-06-19 19:12:41 -07:00
parent e4c89d7b50
commit d814160d82

View file

@ -124,6 +124,7 @@ fn iter_exprs(depth: usize, f: &mut FnMut(P<Expr>)) {
});
iter_exprs(depth - 1, &mut |e| g(
ExprKind::Closure(CaptureBy::Value,
IsAsync::NotAsync,
Movability::Movable,
decl.clone(),
e,