mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Use AstP more in lowering.
This commit is contained in:
parent
59b5dae918
commit
397a027aa7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user