[red-knot] Use a distinct type for module search paths in the module resolver (#12379)

This commit is contained in:
Alex Waygood 2024-07-22 20:44:27 +01:00 committed by GitHub
parent ea2d51c2bb
commit 2a8f95c437
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 334 additions and 316 deletions

View file

@ -75,8 +75,8 @@ pub struct SearchPathSettings {
/// The root of the workspace, used for finding first-party modules.
pub workspace_root: SystemPathBuf,
/// Optional (already validated) path to standard-library typeshed stubs.
/// If this is not provided, we will fallback to our vendored typeshed stubs
/// Optional path to a "custom typeshed" directory on disk for us to use for standard-library types.
/// If this is not provided, we will fallback to our vendored typeshed stubs for the stdlib,
/// bundled as a zip file in the binary
pub custom_typeshed: Option<SystemPathBuf>,