summaryrefslogtreecommitdiff
path: root/dhall_syntax
diff options
context:
space:
mode:
authorNadrieril2019-09-17 19:59:22 +0200
committerNadrieril2019-09-17 20:01:52 +0200
commitf8341503c778db92f46fa9f6f368a2013e4c0c1a (patch)
treefad5157c68ff56cc215bff1e9b6b9be1b6acc0a4 /dhall_syntax
parentf040f12e67f4da03773c4b28934ceefeb1c5b8b8 (diff)
Change invocation syntax of pest_consume::parser macro
Diffstat (limited to '')
-rw-r--r--dhall_syntax/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs
index 8f6f423..2af2d92 100644
--- a/dhall_syntax/src/parser.rs
+++ b/dhall_syntax/src/parser.rs
@@ -149,7 +149,7 @@ lazy_static::lazy_static! {
struct DhallParser;
-#[pest_consume::parser(dgp::DhallParser, dgp::Rule)]
+#[pest_consume::parser(parser = dgp::DhallParser, rule = dgp::Rule)]
impl DhallParser {
fn EOI(_input: ParseInput) -> ParseResult<()> {
Ok(())