[ty] Improve diagnostics if the user attempts to import a stdlib module that does not exist on their configured Python version (#18403)

This commit is contained in:
Alex Waygood
2025-06-02 11:52:26 +01:00
committed by GitHub
parent 384e80ec80
commit e2d96df501
8 changed files with 300 additions and 38 deletions

View File

@@ -369,7 +369,7 @@ impl SearchPaths {
})
}
pub(super) fn typeshed_versions(&self) -> &TypeshedVersions {
pub(crate) fn typeshed_versions(&self) -> &TypeshedVersions {
&self.typeshed_versions
}