aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
parent97e068b1c27b2b2aa48e38550e6adbdc42bba8c3 (diff)
downloadservo-e10206e91e38ee87b8c0df3fb4d64d52fd03e481.tar.gz
servo-e10206e91e38ee87b8c0df3fb4d64d52fd03e481.zip
Reinstate errors for unused variables and imports.
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
-rw-r--r--src/main.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f2292635a17..bb01ad7c739 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -7,6 +7,8 @@
#![feature(globs, macro_rules, phase, thread_local)]
+#![deny(unused_imports, unused_variable)]
+
#[phase(plugin, link)]
extern crate log;
diff --git a/src/main.rs b/src/main.rs
index 7c3db1b91f3..c44d7ec6b60 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -5,6 +5,8 @@
#![comment = "The Servo Parallel Browser Project"]
#![license = "MPL"]
+#![deny(unused_imports, unused_variable)]
+
extern crate servo;
extern crate native;
extern crate servo_util = "util";