@@ -252,9 +252,10 @@ static auto PopOperand(Context& context, Worklist& worklist,
252252 new_facet_type_info.self_impls_named_constraints .resize (
253253 old_facet_type_info.self_impls_named_constraints .size (),
254254 SemIR::SpecificNamedConstraint::None);
255- for (auto [old_constraint, new_constraint] : llvm::reverse (
256- llvm::zip (old_facet_type_info.self_impls_named_constraints ,
257- new_facet_type_info.self_impls_named_constraints ))) {
255+ for (auto [old_constraint, new_constraint] :
256+ llvm::reverse (llvm::zip_equal (
257+ old_facet_type_info.self_impls_named_constraints ,
258+ new_facet_type_info.self_impls_named_constraints ))) {
258259 new_constraint = {
259260 .named_constraint_id = old_constraint.named_constraint_id ,
260261 .specific_id = pop_specific (old_constraint.specific_id )};
@@ -263,8 +264,8 @@ static auto PopOperand(Context& context, Worklist& worklist,
263264 old_facet_type_info.extend_named_constraints .size (),
264265 SemIR::SpecificNamedConstraint::None);
265266 for (auto [old_constraint, new_constraint] : llvm::reverse (
266- llvm::zip (old_facet_type_info.extend_named_constraints ,
267- new_facet_type_info.extend_named_constraints ))) {
267+ llvm::zip_equal (old_facet_type_info.extend_named_constraints ,
268+ new_facet_type_info.extend_named_constraints ))) {
268269 new_constraint = {
269270 .named_constraint_id = old_constraint.named_constraint_id ,
270271 .specific_id = pop_specific (old_constraint.specific_id )};
@@ -273,18 +274,18 @@ static auto PopOperand(Context& context, Worklist& worklist,
273274 old_facet_type_info.self_impls_constraints .size (),
274275 SemIR::SpecificInterface::None);
275276 for (auto [old_constraint, new_constraint] : llvm::reverse (
276- llvm::zip (old_facet_type_info.self_impls_constraints ,
277- new_facet_type_info.self_impls_constraints ))) {
277+ llvm::zip_equal (old_facet_type_info.self_impls_constraints ,
278+ new_facet_type_info.self_impls_constraints ))) {
278279 new_constraint = {
279280 .interface_id = old_constraint.interface_id ,
280281 .specific_id = pop_specific (old_constraint.specific_id )};
281282 }
282283 new_facet_type_info.extend_constraints .resize (
283284 old_facet_type_info.extend_constraints .size (),
284285 SemIR::SpecificInterface::None);
285- for (auto [old_constraint, new_constraint] :
286- llvm::reverse ( llvm::zip (old_facet_type_info.extend_constraints ,
287- new_facet_type_info.extend_constraints ))) {
286+ for (auto [old_constraint, new_constraint] : llvm::reverse (
287+ llvm::zip_equal (old_facet_type_info.extend_constraints ,
288+ new_facet_type_info.extend_constraints ))) {
288289 new_constraint = {
289290 .interface_id = old_constraint.interface_id ,
290291 .specific_id = pop_specific (old_constraint.specific_id )};
0 commit comments