summaryrefslogtreecommitdiff
path: root/dhall/src/imports.rs
diff options
context:
space:
mode:
authorNadrieril2019-03-24 16:25:37 +0100
committerNadrieril2019-03-24 16:25:37 +0100
commit8bae9a8fab523668e9aea96e4f32cec21e22998a (patch)
tree09763096bd270981978152226f9b780dbd22153b /dhall/src/imports.rs
parent6c1a739687f706cf6630c55f8d53c92aacaf6e3d (diff)
Parser import hash and headers
Diffstat (limited to '')
-rw-r--r--dhall/src/imports.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/imports.rs b/dhall/src/imports.rs
index 8a2edce..8df4e97 100644
--- a/dhall/src/imports.rs
+++ b/dhall/src/imports.rs
@@ -29,7 +29,7 @@ fn resolve_import(
let cwd = match root {
LocalDir(cwd) => cwd,
};
- match &import.location {
+ match &import.location_hashed.location {
Local(prefix, path) => {
let path = match prefix {
Parent => cwd.parent().unwrap().join(path),