504 | / for (_idx, _constraint) in &self.constraints.iter().enumerate() {
505 | | }
| |_________^ `&std::iter::Enumerate<std::slice::Iter<'_, borrow_check::nll::region_infer::Constraint>>`
I started going for constraint in &self.constraints { then move to use enumerate and forgot to remove the &.
I figuref that the error could say maybe remove the &, calling iter and having & doesn't make sense.
I started going
for constraint in &self.constraints {then move to useenumerateand forgot to remove the&.I figuref that the error could say
maybe remove the &, callingiterand having&doesn't make sense.