Update Rust toolchain to 1.88 and MSRV to 1.86 (#19011)

This commit is contained in:
Micha Reiser 2025-06-28 20:24:00 +02:00 committed by GitHub
parent c5995c40d3
commit 29927f2b59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
59 changed files with 210 additions and 425 deletions

View file

@ -137,7 +137,7 @@ impl PythonVersionFileSource {
/// Useful for subdiagnostics when informing the user
/// what the inferred Python version of their project is.
pub(crate) fn span(&self, db: &dyn Db) -> Option<Span> {
let file = system_path_to_file(db.upcast(), &*self.path).ok()?;
let file = system_path_to_file(db, &*self.path).ok()?;
Some(Span::from(file).with_optional_range(self.range))
}
}