summaryrefslogtreecommitdiff
path: root/pest_consume/src/lib.rs
diff options
context:
space:
mode:
authorNadrieril2019-09-10 15:42:11 +0200
committerNadrieril2019-09-10 15:42:11 +0200
commit20e75122354dc44468fa58c40e94a43a128aa764 (patch)
tree3625ed64f60e915c32aa9fbd68ed00135488babb /pest_consume/src/lib.rs
parente4003cc25efcae79c1332e3481d7edfca1067c4f (diff)
Use proc_macro_hack to avoid the need for the proc_macro_hygiene feature
Diffstat (limited to '')
-rw-r--r--pest_consume/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
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: () = ();