diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2015-12-11 16:40:25 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2015-12-15 15:04:47 +0900 |
| commit | 9410bfa0cd68947a1f4b21c3b624855cf5732a7a (patch) | |
| tree | cbecbf9712b04252a0bbb81d54e8854774abaa31 /src/libsyntax_ext | |
| parent | bb21b6738a90b232b0e9864c7b2e753d0507f6c0 (diff) | |
| download | rust-9410bfa0cd68947a1f4b21c3b624855cf5732a7a.tar.gz rust-9410bfa0cd68947a1f4b21c3b624855cf5732a7a.zip | |
Fix custom deriving tests
Diffstat (limited to 'src/libsyntax_ext')
| -rw-r--r-- | src/libsyntax_ext/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsyntax_ext/lib.rs b/src/libsyntax_ext/lib.rs index 49c2618d51b..b59b7db28cb 100644 --- a/src/libsyntax_ext/lib.rs +++ b/src/libsyntax_ext/lib.rs @@ -46,12 +46,14 @@ mod asm; mod cfg; mod concat; mod concat_idents; -mod deriving; mod env; mod format; mod log_syntax; mod trace_macros; +// for custom_derive +pub mod deriving; + pub fn register_builtins(env: &mut SyntaxEnv) { // utility function to simplify creating NormalTT syntax extensions fn builtin_normal_expander(f: MacroExpanderFn) -> SyntaxExtension { |
