summaryrefslogtreecommitdiff
path: root/dhall_syntax/src/parser.rs
diff options
context:
space:
mode:
authorNadrieril2019-08-16 11:11:28 +0200
committerNadrieril2019-08-16 11:11:28 +0200
commit509743469035582d916e6a2f331fd5018c81447e (patch)
tree7689c8ff696e8c6c28bd864ec6b46a2ef941f8de /dhall_syntax/src/parser.rs
parent91ba644fa47c29feb57dba957ee8aa115ed95fef (diff)
Use `!` type instead of custom empty type
Diffstat (limited to '')
-rw-r--r--dhall_syntax/src/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs
index d467970..bcaa00e 100644
--- a/dhall_syntax/src/parser.rs
+++ b/dhall_syntax/src/parser.rs
@@ -18,8 +18,8 @@ use crate::*;
// their own crate because they are quite general and useful. For now they
// are here and hopefully you can figure out how they work.
-pub(crate) type ParsedExpr = Expr<Void>;
-pub(crate) type ParsedSubExpr = SubExpr<Void>;
+pub(crate) type ParsedExpr = Expr<!>;
+pub(crate) type ParsedSubExpr = SubExpr<!>;
type ParsedText = InterpolatedText<ParsedSubExpr>;
type ParsedTextContents = InterpolatedTextContents<ParsedSubExpr>;