about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/debuginfo
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-12-25 16:56:12 +0000
committerMichael Goulet <michael@errs.io>2023-12-25 21:13:41 +0000
commit3320c09eabb635fd6bf7a78a83a601a3d72193e8 (patch)
tree8c48b35bd60678d7b5e963d76f2d6f9e049ca924 /compiler/rustc_codegen_ssa/src/debuginfo
parent909dd864f140b5aeefd116d60ec6bffa4271617a (diff)
downloadrust-3320c09eabb635fd6bf7a78a83a601a3d72193e8.tar.gz
rust-3320c09eabb635fd6bf7a78a83a601a3d72193e8.zip
Only regular coroutines have movability
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
-rw-r--r--compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
index 2ecc5ad4fe4..ae71be14e64 100644
--- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
+++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
@@ -585,7 +585,7 @@ fn coroutine_kind_label(coroutine_kind: Option<CoroutineKind>) -> &'static str {
         Some(CoroutineKind::Desugared(CoroutineDesugaring::AsyncGen, CoroutineSource::Fn)) => {
             "async_gen_fn"
         }
-        Some(CoroutineKind::Coroutine) => "coroutine",
+        Some(CoroutineKind::Coroutine(_)) => "coroutine",
         None => "closure",
     }
 }