Remove structural equiv check for Array const.
This commit is contained in:
parent
a1fa4e05ac
commit
80c2c80d52
1 changed files with 0 additions and 3 deletions
|
@ -2254,9 +2254,6 @@ impl ClashingExternDeclarations {
|
||||||
(Array(a_ty, a_const), Array(b_ty, b_const)) => {
|
(Array(a_ty, a_const), Array(b_ty, b_const)) => {
|
||||||
// For arrays, we also check the constness of the type.
|
// For arrays, we also check the constness of the type.
|
||||||
a_const.val == b_const.val
|
a_const.val == b_const.val
|
||||||
&& structurally_same_type_impl(
|
|
||||||
seen_types, cx, a_const.ty, b_const.ty, ckind,
|
|
||||||
)
|
|
||||||
&& structurally_same_type_impl(
|
&& structurally_same_type_impl(
|
||||||
seen_types, cx, a_ty, b_ty, ckind,
|
seen_types, cx, a_ty, b_ty, ckind,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue