Skip to content

Commit

Permalink
Use AstP more in lowering.
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Jul 23, 2019
1 parent 3d8c561 commit efdbb87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/hir/lowering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ impl<'a> LoweringContext<'a> {
&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 {
Expand Down

0 comments on commit efdbb87

Please sign in to comment.