Use AstP more in lowering.
This commit is contained in:
parent
59b5dae918
commit
397a027aa7
1 changed files with 1 additions and 1 deletions
|
@ -1158,7 +1158,7 @@ impl<'a> LoweringContext<'a> {
|
||||||
&mut self,
|
&mut self,
|
||||||
capture_clause: CaptureBy,
|
capture_clause: CaptureBy,
|
||||||
closure_node_id: NodeId,
|
closure_node_id: NodeId,
|
||||||
ret_ty: Option<syntax::ptr::P<Ty>>,
|
ret_ty: Option<AstP<Ty>>,
|
||||||
span: Span,
|
span: Span,
|
||||||
body: impl FnOnce(&mut LoweringContext<'_>) -> hir::Expr,
|
body: impl FnOnce(&mut LoweringContext<'_>) -> hir::Expr,
|
||||||
) -> hir::ExprKind {
|
) -> hir::ExprKind {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue