Fix remaining uses of CaptureBy::Value
This commit is contained in:
parent
8de489918b
commit
241a654c07
5 changed files with 9 additions and 9 deletions
|
@ -1201,7 +1201,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
}
|
||||
|
||||
let async_expr = this.make_async_expr(
|
||||
CaptureBy::Value,
|
||||
CaptureBy::Value { move_kw: rustc_span::DUMMY_SP },
|
||||
closure_id,
|
||||
None,
|
||||
body.span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue