aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 87eec7cab02..deab92ea107 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -7,12 +7,14 @@
#![feature(drain_filter)]
#![feature(inner_deref)]
#![feature(plugin)]
+#![feature(register_tool)]
#![deny(unsafe_code)]
#![allow(non_snake_case)]
#![doc = "The script crate contains all matters DOM."]
#![cfg_attr(not(feature = "unrooted_must_root_lint"), allow(unknown_lints))]
#![allow(deprecated)] // FIXME: Can we make `allow` only apply to the `plugin` crate attribute?
#![plugin(script_plugins)]
+#![register_tool(unrooted_must_root_lint)]
#[macro_use]
extern crate bitflags;