about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
diff options
context:
space:
mode:
authorEric Holk <ericholk@microsoft.com>2023-11-30 16:39:56 -0800
committerEric Holk <ericholk@microsoft.com>2023-12-04 13:03:37 -0800
commitf9d1f922dcd335e534d40923ab54088c07a5403e (patch)
treec268e5049e6492ebdbe081b049c562b51031d799 /compiler/rustc_expand/src
parent48d5f1f0f26b78f76c5fcf0dda5ac93b8754aeb6 (diff)
downloadrust-f9d1f922dcd335e534d40923ab54088c07a5403e.tar.gz
rust-f9d1f922dcd335e534d40923ab54088c07a5403e.zip
Option<CoroutineKind>
Diffstat (limited to 'compiler/rustc_expand/src')
-rw-r--r--compiler/rustc_expand/src/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/build.rs b/compiler/rustc_expand/src/build.rs
index 49b52d265d6..794e11d87d1 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,
-                coro_kind: ast::CoroutineKind::None,
+                coro_kind: None,
                 movability: ast::Movability::Movable,
                 fn_decl,
                 body,