summaryrefslogtreecommitdiff
path: root/dhall_syntax/src/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dhall_syntax/src/parser.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs
index b70a236..52b3760 100644
--- a/dhall_syntax/src/parser.rs
+++ b/dhall_syntax/src/parser.rs
@@ -729,7 +729,7 @@ make_parser! {
[scheme(sch), authority(auth), path(file_path)] => URL {
scheme: sch,
authority: auth,
- path: File { file_path },
+ path: FilePath { file_path },
query: None,
headers: None,
},
@@ -737,7 +737,7 @@ make_parser! {
URL {
scheme: sch,
authority: auth,
- path: File { file_path },
+ path: FilePath { file_path },
query: Some(q),
headers: None,
}
@@ -794,7 +794,7 @@ make_parser! {
ImportLocation::Remote(url)
},
[local((prefix, file_path))] => {
- ImportLocation::Local(prefix, File { file_path })
+ ImportLocation::Local(prefix, FilePath { file_path })
},
));