summaryrefslogtreecommitdiff
path: root/dhall_syntax/src
diff options
context:
space:
mode:
authorNadrieril2019-09-02 18:12:14 +0200
committerNadrieril2019-09-02 18:12:14 +0200
commit49f142e3cd173549b8d63883380b5e780c9fefb1 (patch)
tree7577517ccaefacdaa9f695850647f2764479c118 /dhall_syntax/src
parent4bc3380f57e6ce1c7766df0d6b720371b216490d (diff)
Properly parse the argument of make_parser as an impl
Diffstat (limited to 'dhall_syntax/src')
-rw-r--r--dhall_syntax/src/parser.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs
index 5ed524d..fac6ecc 100644
--- a/dhall_syntax/src/parser.rs
+++ b/dhall_syntax/src/parser.rs
@@ -224,8 +224,10 @@ lazy_static::lazy_static! {
};
}
+struct Parsers;
+
#[make_parser]
-impl _ {
+impl Parsers {
fn EOI(_: ParseInput<Rule>) -> ParseResult<()> {
Ok(())
}