about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-01-24 18:01:56 +0000
committerMichael Goulet <michael@errs.io>2024-02-06 02:22:58 +0000
commit31f7f03c2a08396f518d7732a5dc86f9c13de106 (patch)
treea13d3d59fe7923f1ff20a11a43e8e192d62d8f9e
parentfe7be54b9121aaa99802b943bc9a7316f863e16d (diff)
downloadrust-31f7f03c2a08396f518d7732a5dc86f9c13de106.tar.gz
rust-31f7f03c2a08396f518d7732a5dc86f9c13de106.zip
Add CoroutineClosure to TyKind, AggregateKind, UpvarArgs
-rw-r--r--src/type_of.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type_of.rs b/src/type_of.rs
index e5c0b2de4ca..25149b80201 100644
--- a/src/type_of.rs
+++ b/src/type_of.rs
@@ -87,7 +87,7 @@ fn uncached_gcc_type<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, layout: TyAndLayout
         // FIXME(eddyb) producing readable type names for trait objects can result
         // in problematically distinct types due to HRTB and subtyping (see #47638).
         // ty::Dynamic(..) |
-        ty::Adt(..) | ty::Closure(..) | ty::Foreign(..) | ty::Coroutine(..) | ty::Str
+        ty::Adt(..) | ty::Closure(..) | ty::CoroutineClosure(..) | ty::Foreign(..) | ty::Coroutine(..) | ty::Str
             if !cx.sess().fewer_names() =>
         {
             let mut name = with_no_trimmed_paths!(layout.ty.to_string());