Improve non-git error message (#3403)

The boxing changes are due to clippy
This commit is contained in:
konsti 2024-05-06 13:28:05 +02:00 committed by GitHub
parent d0c3146ef6
commit 098944fc7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 36 additions and 18 deletions

View file

@ -105,7 +105,7 @@ pub enum Error {
#[error("Failed to build PATH for build script")]
BuildScriptPath(#[source] env::JoinPathsError),
#[error("Failed to parse requirements from build backend")]
DirectUrl(#[source] ParsedUrlError),
DirectUrl(#[source] Box<ParsedUrlError>),
}
#[derive(Debug)]