diff options
| author | Dinu Blanovschi <git@dnbln.dev> | 2023-11-04 19:48:44 +0100 |
|---|---|---|
| committer | Dinu Blanovschi <git@dnbln.dev> | 2023-11-04 19:48:44 +0100 |
| commit | 241a654c07e0741ea1f32ea9f41761bcf6adcefc (patch) | |
| tree | badd5d5cd089c1a1d29c9730a85060616377cc9f /compiler/rustc_ast_lowering/src | |
| parent | 8de489918ba83e3b6080f10cd6294434564028fa (diff) | |
| download | rust-241a654c07e0741ea1f32ea9f41761bcf6adcefc.tar.gz rust-241a654c07e0741ea1f32ea9f41761bcf6adcefc.zip | |
Fix remaining uses of `CaptureBy::Value`
Diffstat (limited to 'compiler/rustc_ast_lowering/src')
| -rw-r--r-- | compiler/rustc_ast_lowering/src/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_lowering/src/item.rs b/compiler/rustc_ast_lowering/src/item.rs index c73d2382db8..9a70e6d7c4a 100644 --- a/compiler/rustc_ast_lowering/src/item.rs +++ b/compiler/rustc_ast_lowering/src/item.rs @@ -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, |
