diff options
Diffstat (limited to 'components/plugins')
-rw-r--r-- | components/plugins/lib.rs | 8 |
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); |