Skip to content

Commit d814160

Browse files
committed
Fix test using ExprKind::Closure
1 parent e4c89d7 commit d814160

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/run-pass-fulldeps/pprust-expr-roundtrip.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ fn iter_exprs(depth: usize, f: &mut FnMut(P<Expr>)) {
124124
});
125125
iter_exprs(depth - 1, &mut |e| g(
126126
ExprKind::Closure(CaptureBy::Value,
127+
IsAsync::NotAsync,
127128
Movability::Movable,
128129
decl.clone(),
129130
e,

0 commit comments

Comments
 (0)