This commit is contained in:
bjorn3 2022-05-06 18:54:13 +02:00
parent 74b9232ee8
commit acf93987bc

View File

@ -828,9 +828,7 @@ pub(crate) fn assert_assignable<'tcx>(
}
}
}
(ty::Array(a, _), ty::Array(b, _)) => {
assert_assignable(fx, *a, *b)
}
(ty::Array(a, _), ty::Array(b, _)) => assert_assignable(fx, *a, *b),
_ => {
assert_eq!(
from_ty, to_ty,