[red-knot] Rename workspace_root variables in the module resolver to src_root (#12697)

Fixes #12337
This commit is contained in:
Alex Waygood 2024-08-05 23:07:18 +01:00 committed by GitHub
parent 7ee7c68f36
commit 5499821c67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 22 additions and 22 deletions

View file

@ -85,7 +85,7 @@ pub struct SearchPathSettings {
pub extra_paths: Vec<SystemPathBuf>,
/// The root of the workspace, used for finding first-party modules.
pub workspace_root: SystemPathBuf,
pub src_root: SystemPathBuf,
/// 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,