diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-10-20 09:02:22 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-10-20 21:14:01 +0000 |
| commit | 2d91c76d5dba082f6951eca6f8f694dff90c3607 (patch) | |
| tree | 5b78aa9fd0d69b270368a4a6e0542729cc104aad /compiler/rustc_codegen_ssa/src/debuginfo | |
| parent | e96ce20b34789d29e925425da6cf138927b80a79 (diff) | |
| download | rust-2d91c76d5dba082f6951eca6f8f694dff90c3607.tar.gz rust-2d91c76d5dba082f6951eca6f8f694dff90c3607.zip | |
Rename `CoroutineKind::Gen` to `::Coroutine`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs | 2 |
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 aad6916ec91..e401f6bbcbf 100644 --- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs +++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs @@ -563,7 +563,7 @@ fn coroutine_kind_label(coroutine_kind: Option<CoroutineKind>) -> &'static str { Some(CoroutineKind::Async(AsyncCoroutineKind::Block)) => "async_block", Some(CoroutineKind::Async(AsyncCoroutineKind::Closure)) => "async_closure", Some(CoroutineKind::Async(AsyncCoroutineKind::Fn)) => "async_fn", - Some(CoroutineKind::Gen) => "coroutine", + Some(CoroutineKind::Coroutine) => "coroutine", None => "closure", } } |
