Use AstP more in lowering.

This commit is contained in:
Mazdak Farrokhzad
2019-07-11 16:11:09 +02:00
parent 59b5dae918
commit 397a027aa7
+1 -1
View File
@@ -1158,7 +1158,7 @@ fn make_async_expr(
&mut self,
capture_clause: CaptureBy,
closure_node_id: NodeId,
ret_ty: Option<syntax::ptr::P<Ty>>,
ret_ty: Option<AstP<Ty>>,
span: Span,
body: impl FnOnce(&mut LoweringContext<'_>) -> hir::Expr,
) -> hir::ExprKind {