From 49f142e3cd173549b8d63883380b5e780c9fefb1 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Mon, 2 Sep 2019 18:12:14 +0200 Subject: Properly parse the argument of make_parser as an impl --- dhall_syntax/src/parser.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dhall_syntax/src/parser.rs') 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) -> ParseResult<()> { Ok(()) } -- cgit v1.2.3