diff options
| author | Eric Holk <ericholk@microsoft.com> | 2023-11-30 14:54:39 -0800 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2023-12-04 12:48:01 -0800 |
| commit | 48d5f1f0f26b78f76c5fcf0dda5ac93b8754aeb6 (patch) | |
| tree | 09280f2a00a4e2fd4e7a8f3a3c49062239a64409 /compiler/rustc_expand/src/build.rs | |
| parent | 3887b1645aaa85e2755a54ab91f40c4fedc1dc0f (diff) | |
| download | rust-48d5f1f0f26b78f76c5fcf0dda5ac93b8754aeb6.tar.gz rust-48d5f1f0f26b78f76c5fcf0dda5ac93b8754aeb6.zip | |
Merge Async and Gen into CoroutineKind
Diffstat (limited to 'compiler/rustc_expand/src/build.rs')
| -rw-r--r-- | compiler/rustc_expand/src/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/build.rs b/compiler/rustc_expand/src/build.rs index 9a8d0d691f0..49b52d265d6 100644 --- a/compiler/rustc_expand/src/build.rs +++ b/compiler/rustc_expand/src/build.rs @@ -547,7 +547,7 @@ impl<'a> ExtCtxt<'a> { binder: ast::ClosureBinder::NotPresent, capture_clause: ast::CaptureBy::Ref, constness: ast::Const::No, - asyncness: ast::Async::No, + coro_kind: ast::CoroutineKind::None, movability: ast::Movability::Movable, fn_decl, body, |
