Function rupta::util::type_util::equal_types
source · pub fn equal_types<'tcx>(
tcx: TyCtxt<'tcx>,
ty1: Ty<'tcx>,
ty2: Ty<'tcx>
) -> boolExpand description
Returns true if the two given types are equal after erasing regions