Replace structurally_resolved_type
in casts check.
#48270
Merged
structurally_resolved_type
in casts check.
#48270