parent
eb881b486f
commit
74b9232ee8
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user