Skip to content

Commit 634e5fa

Browse files
committed
fix import
1 parent ac69f5d commit 634e5fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-core/src/dependency.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use hexpm::{
88
version::{Range, Version},
99
};
1010
use pubgrub::{Dependencies, Map};
11-
use thiserror::Error;
11+
use thiserror;
1212

1313
pub type PackageVersions = HashMap<String, Version>;
1414

@@ -192,7 +192,7 @@ pub trait PackageFetcher {
192192
fn get_dependencies(&self, package: &str) -> Result<Rc<hexpm::Package>, PackageFetchError>;
193193
}
194194

195-
#[derive(Debug, Error)]
195+
#[derive(Debug, thiserror::Error)]
196196
pub enum PackageFetchError {
197197
#[error("{0}")]
198198
ApiError(hexpm::ApiError),

0 commit comments

Comments
 (0)