From 2fb41890c19327ef0bc8b47b2b55cfe0e1bbb873 Mon Sep 17 00:00:00 2001 From: Jacob Finkelman Date: Thu, 21 Mar 2024 14:35:44 +0000 Subject: [PATCH] more source --- src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/error.rs b/src/error.rs index 439e1441..47636036 100644 --- a/src/error.rs +++ b/src/error.rs @@ -50,12 +50,12 @@ where /// returned an error in the method /// [choose_version](crate::solver::DependencyProvider::choose_version). #[error("Decision making failed")] - ErrorChoosingPackageVersion(DP::Err), + ErrorChoosingPackageVersion(#[source] DP::Err), /// Error arising when the implementer of [DependencyProvider] /// returned an error in the method [should_cancel](crate::solver::DependencyProvider::should_cancel). #[error("We should cancel")] - ErrorInShouldCancel(DP::Err), + ErrorInShouldCancel(#[source] DP::Err), /// Something unexpected happened. #[error("{0}")]