about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-12-30 11:00:12 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-12-30 11:00:12 +0000
commitfa9cce061e76d714d51e26865b356dada2cf2d9d (patch)
treedf35f5a87511316b8edfe5b571976c2816fccc12 /src
parent1dbb24984411bf8a7b20b3678059779e4209d302 (diff)
parent6b1a3ad4a69c5d4374081f9caf362b54bb277dda (diff)
downloadrust-fa9cce061e76d714d51e26865b356dada2cf2d9d.tar.gz
rust-fa9cce061e76d714d51e26865b356dada2cf2d9d.zip
Sync from rust 3cdd004e55c869faa2b7b25efd3becf50346e7d6
Diffstat (limited to 'src')
-rw-r--r--src/value_and_place.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/value_and_place.rs b/src/value_and_place.rs
index 838c73fa213..f016e6950d4 100644
--- a/src/value_and_place.rs
+++ b/src/value_and_place.rs
@@ -974,8 +974,8 @@ pub(crate) fn assert_assignable<'tcx>(
                 }
             }
         }
-        (&ty::Coroutine(def_id_a, args_a, mov_a), &ty::Coroutine(def_id_b, args_b, mov_b))
-            if def_id_a == def_id_b && mov_a == mov_b =>
+        (&ty::Coroutine(def_id_a, args_a), &ty::Coroutine(def_id_b, args_b))
+            if def_id_a == def_id_b =>
         {
             let mut types_a = args_a.types();
             let mut types_b = args_b.types();