mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Remove unused thiserror
variants (#11713)
## Summary We get to remove an entire dependency too.
This commit is contained in:
parent
0b3d91c73a
commit
359a3cbe44
11 changed files with 8 additions and 75 deletions
|
@ -1,4 +1,4 @@
|
|||
use std::{ffi::OsString, path::PathBuf};
|
||||
use std::ffi::OsString;
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum Error {
|
||||
|
@ -8,8 +8,6 @@ pub enum Error {
|
|||
AsyncZip(#[from] async_zip::error::ZipError),
|
||||
#[error(transparent)]
|
||||
Io(#[from] std::io::Error),
|
||||
#[error("Unsupported archive type: {0}")]
|
||||
UnsupportedArchive(PathBuf),
|
||||
#[error(
|
||||
"The top-level of the archive must only contain a list directory, but it contains: {0:?}"
|
||||
)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue