Skip to content

Commit eca05c6

Browse files
Remove movability from TyKind::Coroutine
1 parent 02ed790 commit eca05c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type_of.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ fn uncached_gcc_type<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, layout: TyAndLayout
9898
write!(&mut name, "::{}", def.variant(index).name).unwrap();
9999
}
100100
}
101-
if let (&ty::Coroutine(_, _, _), &Variants::Single { index }) =
101+
if let (&ty::Coroutine(_, _), &Variants::Single { index }) =
102102
(layout.ty.kind(), &layout.variants)
103103
{
104104
write!(&mut name, "::{}", ty::CoroutineArgs::variant_name(index)).unwrap();

0 commit comments

Comments
 (0)