about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/value_and_place.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/value_and_place.rs b/src/value_and_place.rs
index 8f80b02ae0d..f8da18ee3e2 100644
--- a/src/value_and_place.rs
+++ b/src/value_and_place.rs
@@ -828,6 +828,9 @@ pub(crate) fn assert_assignable<'tcx>(
                 }
             }
         }
+        (ty::Array(a, _), ty::Array(b, _)) => {
+            assert_assignable(fx, *a, *b)
+        }
         _ => {
             assert_eq!(
                 from_ty, to_ty,