Skip to content

Commit 6b1a3ad

Browse files
Remove movability from TyKind::Coroutine
1 parent bcae781 commit 6b1a3ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/value_and_place.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -974,8 +974,8 @@ pub(crate) fn assert_assignable<'tcx>(
974974
}
975975
}
976976
}
977-
(&ty::Coroutine(def_id_a, args_a, mov_a), &ty::Coroutine(def_id_b, args_b, mov_b))
978-
if def_id_a == def_id_b && mov_a == mov_b =>
977+
(&ty::Coroutine(def_id_a, args_a), &ty::Coroutine(def_id_b, args_b))
978+
if def_id_a == def_id_b =>
979979
{
980980
let mut types_a = args_a.types();
981981
let mut types_b = args_b.types();

0 commit comments

Comments
 (0)