diff options
author | Nadrieril | 2019-09-10 15:42:11 +0200 |
---|---|---|
committer | Nadrieril | 2019-09-10 15:42:11 +0200 |
commit | 20e75122354dc44468fa58c40e94a43a128aa764 (patch) | |
tree | 3625ed64f60e915c32aa9fbd68ed00135488babb /pest_consume_macros/src | |
parent | e4003cc25efcae79c1332e3481d7edfca1067c4f (diff) |
Use proc_macro_hack to avoid the need for the proc_macro_hygiene feature
Diffstat (limited to 'pest_consume_macros/src')
-rw-r--r-- | pest_consume_macros/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pest_consume_macros/src/lib.rs b/pest_consume_macros/src/lib.rs index b5368ec..3929974 100644 --- a/pest_consume_macros/src/lib.rs +++ b/pest_consume_macros/src/lib.rs @@ -19,7 +19,7 @@ pub fn make_parser(attrs: TokenStream, input: TokenStream) -> TokenStream { }) } -#[proc_macro] +#[proc_macro_hack::proc_macro_hack] pub fn match_inputs(input: TokenStream) -> TokenStream { TokenStream::from(match match_inputs::match_inputs(input) { Ok(tokens) => tokens, |