diff options
author | Nadrieril | 2019-12-20 17:57:49 +0000 |
---|---|---|
committer | Nadrieril | 2019-12-20 17:59:59 +0000 |
commit | 78d066a44c5598794602effa4c10a09f80ed1e72 (patch) | |
tree | b63a9bdc85b82ad9efb140579250cb11af1e41a9 /serde_dhall | |
parent | fd665388b6f1fd80ded9010640ac65cfebca7bc6 (diff) |
Move error module to root of crate
Diffstat (limited to 'serde_dhall')
-rw-r--r-- | serde_dhall/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serde_dhall/src/lib.rs b/serde_dhall/src/lib.rs index 80ebaf8..2863788 100644 --- a/serde_dhall/src/lib.rs +++ b/serde_dhall/src/lib.rs @@ -138,7 +138,7 @@ pub mod value { fn from_str_using_dhall_error_type( s: &str, ty: Option<&Value>, - ) -> dhall::semantics::error::Result<Self> { + ) -> dhall::error::Result<Self> { let resolved = Parsed::parse_str(s)?.resolve()?; let typed = match ty { None => resolved.typecheck()?, @@ -193,7 +193,7 @@ pub mod de { pub use error::{Error, Result}; mod error { - use dhall::semantics::error::Error as DhallError; + use dhall::error::Error as DhallError; pub type Result<T> = std::result::Result<T, Error>; |