diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-11-02 22:43:37 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-11-03 01:10:35 +0100 |
commit | 391296278db4e815daaa72e62bacd88dbde9f7b1 (patch) | |
tree | 52e36b36986ec166291136d31a00b3ef135a6568 /components/plugins/lib.rs | |
parent | b0cac458b6b64e7d85a8dcaef3b74f18950fe8a5 (diff) | |
download | servo-391296278db4e815daaa72e62bacd88dbde9f7b1.tar.gz servo-391296278db4e815daaa72e62bacd88dbde9f7b1.zip |
Make #[derive(JSTraceable)] a procedural macro
Diffstat (limited to 'components/plugins/lib.rs')
-rw-r--r-- | components/plugins/lib.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/components/plugins/lib.rs b/components/plugins/lib.rs index e62243e8024..5ebb54aba31 100644 --- a/components/plugins/lib.rs +++ b/components/plugins/lib.rs @@ -25,7 +25,6 @@ extern crate rustc; extern crate rustc_plugin; #[macro_use] extern crate syntax; -extern crate syntax_ext; use rustc_plugin::Registry; use syntax::ext::base::*; @@ -44,8 +43,6 @@ mod utils; #[plugin_registrar] pub fn plugin_registrar(reg: &mut Registry) { reg.register_syntax_extension(intern("dom_struct"), MultiModifier(box jstraceable::expand_dom_struct)); - reg.register_syntax_extension(intern("derive_JSTraceable"), - MultiDecorator(box jstraceable::expand_jstraceable)); reg.register_syntax_extension(intern("_generate_reflector"), MultiDecorator(box reflector::expand_reflector)); reg.register_late_lint_pass(box lints::unrooted_must_root::UnrootedPass::new()); |