diff options
Diffstat (limited to 'components/plugins/lib.rs')
-rw-r--r-- | components/plugins/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/plugins/lib.rs b/components/plugins/lib.rs index 968676b5413..36045cec078 100644 --- a/components/plugins/lib.rs +++ b/components/plugins/lib.rs @@ -19,6 +19,8 @@ extern crate syntax; #[macro_use] extern crate rustc; +extern crate tenacious; + use rustc::lint::LintPassObject; use rustc::plugin::Registry; use syntax::ext::base::{Decorator, Modifier}; @@ -48,4 +50,5 @@ pub fn plugin_registrar(reg: &mut Registry) { reg.register_lint_pass(box lints::inheritance_integrity::InheritancePass as LintPassObject); reg.register_lint_pass(box lints::str_to_string::StrToStringPass as LintPassObject); reg.register_lint_pass(box lints::ban::BanPass as LintPassObject); + reg.register_lint_pass(box tenacious::TenaciousPass as LintPassObject); } |