]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_cranelift/src/value_and_place.rs
Rollup merge of #98022 - compiler-errors:erroneous-borrowck-span, r=oli-obk
[rust.git] / compiler / rustc_codegen_cranelift / src / value_and_place.rs
index 8f80b02ae0d4e7d98d588cd255f2ac210bdf209e..a68225de58b32d160dd2302ed54eaf352b3d8831 100644 (file)
@@ -828,6 +828,7 @@ pub(crate) fn assert_assignable<'tcx>(
                 }
             }
         }
+        (ty::Array(a, _), ty::Array(b, _)) => assert_assignable(fx, *a, *b),
         _ => {
             assert_eq!(
                 from_ty, to_ty,