diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | src/main.rs | 2 |
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"; |