Skip to content

Commit efdbb87

Browse files
committed
Use AstP more in lowering.
1 parent 3d8c561 commit efdbb87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/hir/lowering.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ impl<'a> LoweringContext<'a> {
11581158
&mut self,
11591159
capture_clause: CaptureBy,
11601160
closure_node_id: NodeId,
1161-
ret_ty: Option<syntax::ptr::P<Ty>>,
1161+
ret_ty: Option<AstP<Ty>>,
11621162
span: Span,
11631163
body: impl FnOnce(&mut LoweringContext<'_>) -> hir::Expr,
11641164
) -> hir::ExprKind {

0 commit comments

Comments
 (0)