aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-07-12 16:34:35 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-07-12 19:59:58 +0530
commit3ead9cc67b3955b771337e0017b88d367447ed65 (patch)
tree3515baa58f86e044a275c86eaae7baddbae1cd8c /components/plugins
parented894777a1ccabeca318bfef4bbb739fc0bed41f (diff)
downloadservo-3ead9cc67b3955b771337e0017b88d367447ed65.tar.gz
servo-3ead9cc67b3955b771337e0017b88d367447ed65.zip
Improve mach clippy, add plugins to style/util
Diffstat (limited to 'components/plugins')
-rw-r--r--components/plugins/lib.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/components/plugins/lib.rs b/components/plugins/lib.rs
index a35cd3c71d6..52bfad7e049 100644
--- a/components/plugins/lib.rs
+++ b/components/plugins/lib.rs
@@ -44,12 +44,14 @@ 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::transmute_type::TransmutePass);
+ 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());
reg.register_late_lint_pass(box lints::privatize::PrivatizePass);
reg.register_late_lint_pass(box lints::inheritance_integrity::InheritancePass);
+ reg.register_late_lint_pass(box lints::transmute_type::TransmutePass);
reg.register_early_lint_pass(box lints::ban::BanPass);
reg.register_late_lint_pass(box tenacious::TenaciousPass);
reg.register_attribute("must_root".to_string(), Whitelisted);