From 20e75122354dc44468fa58c40e94a43a128aa764 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Tue, 10 Sep 2019 15:42:11 +0200 Subject: Use proc_macro_hack to avoid the need for the proc_macro_hygiene feature --- pest_consume/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pest_consume/src') diff --git a/pest_consume/src/lib.rs b/pest_consume/src/lib.rs index 1579f81..439effb 100644 --- a/pest_consume/src/lib.rs +++ b/pest_consume/src/lib.rs @@ -3,7 +3,9 @@ use pest::iterators::{Pair, Pairs}; use pest::Parser as PestParser; use pest::{RuleType, Span}; -pub use pest_consume_macros::{make_parser, match_inputs}; +pub use pest_consume_macros::make_parser; +#[proc_macro_hack::proc_macro_hack] +pub use pest_consume_macros::match_inputs; static UNIT: () = (); -- cgit v1.2.3