aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorJack Moffitt <jack@metajack.im>2014-09-13 23:38:00 -0600
committerJack Moffitt <jack@metajack.im>2014-09-13 23:38:00 -0600
commite10206e91e38ee87b8c0df3fb4d64d52fd03e481 (patch)
treec989228e7167bddea39cb9c16a0f73780dac0341 /components/script
parent97e068b1c27b2b2aa48e38550e6adbdc42bba8c3 (diff)
downloadservo-e10206e91e38ee87b8c0df3fb4d64d52fd03e481.tar.gz
servo-e10206e91e38ee87b8c0df3fb4d64d52fd03e481.zip
Reinstate errors for unused variables and imports.
Diffstat (limited to 'components/script')
-rw-r--r--components/script/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 6e44b295968..275051435bd 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -7,12 +7,11 @@
#![feature(globs, macro_rules, struct_variant, phase, unsafe_destructor)]
-#![feature(phase)]
+#![deny(unused_imports, unused_variable)]
+#![allow(non_snake_case_functions)]
#![doc="The script crate contains all matters DOM."]
-#![allow(non_snake_case_functions)]
-
#[phase(plugin, link)]
extern crate log;