Update Rust toolchain to 1.89 (#15157)

## Summary

Bumps Rust toolchain to 1.89, but not the MSRV.

Lifetime changes is related to a new lint rule explained in
https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/#mismatched-lifetime-syntaxes-lint

## Test Plan

Existing Tests
This commit is contained in:
samypr100 2025-08-08 09:01:52 -04:00 committed by GitHub
parent 8f71d239f8
commit 57df0146e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 83 additions and 81 deletions

View file

@ -174,7 +174,7 @@ impl VersionMap {
pub(crate) fn iter(
&self,
range: &Ranges<Version>,
) -> impl DoubleEndedIterator<Item = (&Version, VersionMapDistHandle)> {
) -> impl DoubleEndedIterator<Item = (&Version, VersionMapDistHandle<'_>)> {
// Performance optimization: If we only have a single version, return that version directly.
if let Some(version) = range.as_singleton() {
either::Either::Left(match self.inner {