mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-24 13:43:45 +00:00
Upgrade to Rust 1.83 (#9511)
## Summary A lot of good new lints, and most importantly, error stabilizations. I tried to find a few usages of the new stabilizations, but I'm sure there are more. IIUC, this _does_ require bumping our MSRV.
This commit is contained in:
parent
b9b37a9bab
commit
cf20673197
31 changed files with 71 additions and 64 deletions
|
@ -716,12 +716,12 @@ impl Workspace {
|
|||
member_glob.to_string(),
|
||||
));
|
||||
}
|
||||
// If the entry is _not_ a directory, skip it.
|
||||
Err(_) if !member_root.is_dir() => {
|
||||
Err(err) if err.kind() == std::io::ErrorKind::NotADirectory => {
|
||||
warn!(
|
||||
"Ignoring non-directory workspace member: `{}`",
|
||||
member_root.simplified_display()
|
||||
);
|
||||
|
||||
continue;
|
||||
}
|
||||
Err(err) => return Err(err.into()),
|
||||
|
@ -975,7 +975,7 @@ impl ProjectWorkspace {
|
|||
let project = pyproject_toml
|
||||
.project
|
||||
.clone()
|
||||
.ok_or_else(|| WorkspaceError::MissingProject(pyproject_path))?;
|
||||
.ok_or(WorkspaceError::MissingProject(pyproject_path))?;
|
||||
|
||||
Self::from_project(project_root, &project, &pyproject_toml, options).await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue