diff options
author | Nadrieril | 2019-12-15 20:01:35 +0000 |
---|---|---|
committer | Nadrieril | 2019-12-15 20:01:35 +0000 |
commit | b11a2cd6ca50d5a4dfa71ae8cd0642fb1c75e1cf (patch) | |
tree | e991e6b351b9b0af8b0b63d75f0ce69bdb4c7cf8 /serde_dhall/src | |
parent | 0105e3c31dbb2984e5c4b9d51cc3b27767e7683c (diff) |
Refer to semantics module properly
Diffstat (limited to 'serde_dhall/src')
-rw-r--r-- | serde_dhall/src/lib.rs | 6 | ||||
-rw-r--r-- | serde_dhall/src/serde.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/serde_dhall/src/lib.rs b/serde_dhall/src/lib.rs index 91b47e5..80ebaf8 100644 --- a/serde_dhall/src/lib.rs +++ b/serde_dhall/src/lib.rs @@ -122,7 +122,7 @@ pub use value::Value; // A Dhall value. pub mod value { - use dhall::phase::{NormalizedExpr, Parsed, Typed}; + use dhall::semantics::phase::{NormalizedExpr, Parsed, Typed}; use dhall::syntax::Builtin; use super::de::{Error, Result}; @@ -138,7 +138,7 @@ pub mod value { fn from_str_using_dhall_error_type( s: &str, ty: Option<&Value>, - ) -> dhall::error::Result<Self> { + ) -> dhall::semantics::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::error::Error as DhallError; + use dhall::semantics::error::Error as DhallError; pub type Result<T> = std::result::Result<T, Error>; diff --git a/serde_dhall/src/serde.rs b/serde_dhall/src/serde.rs index 2972ea2..9006a08 100644 --- a/serde_dhall/src/serde.rs +++ b/serde_dhall/src/serde.rs @@ -1,6 +1,6 @@ use std::borrow::Cow; -use dhall::phase::NormalizedExpr; +use dhall::semantics::phase::NormalizedExpr; use dhall::syntax::ExprF; use crate::de::{Deserialize, Error, Result}; |