mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
Use AstP more in lowering.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user