diff options
| author | Leo Testard <leo.testard@gmail.com> | 2016-04-04 17:08:41 +0200 |
|---|---|---|
| committer | Leo Testard <leo.testard@gmail.com> | 2016-04-21 14:00:14 +0200 |
| commit | ef1de519ff286a21e220d5839a6a5d468d296773 (patch) | |
| tree | 62c997499d591bb72af9ab20df9e629ffa70a584 /src/libsyntax/ext | |
| parent | 2f1dfe615d479f19fa1b989e014eb8d4d516a23a (diff) | |
| download | rust-ef1de519ff286a21e220d5839a6a5d468d296773.tar.gz rust-ef1de519ff286a21e220d5839a6a5d468d296773.zip | |
Generate the features structure and arrays with new macros.
This is more readable, safer, and allows for a much more efficient parsing.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index cd7b0fcfb00..bc8d5cd7703 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1345,14 +1345,14 @@ impl<'feat> ExpansionConfig<'feat> { } feature_tests! { - fn enable_quotes = allow_quote, - fn enable_asm = allow_asm, - fn enable_log_syntax = allow_log_syntax, - fn enable_concat_idents = allow_concat_idents, - fn enable_trace_macros = allow_trace_macros, + fn enable_quotes = quote, + fn enable_asm = asm, + fn enable_log_syntax = log_syntax, + fn enable_concat_idents = concat_idents, + fn enable_trace_macros = trace_macros, fn enable_allow_internal_unstable = allow_internal_unstable, - fn enable_custom_derive = allow_custom_derive, - fn enable_pushpop_unsafe = allow_pushpop_unsafe, + fn enable_custom_derive = custom_derive, + fn enable_pushpop_unsafe = pushpop_unsafe, } } |
