diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-09-14 09:56:58 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2014-09-14 09:56:58 -0400 |
commit | 6c179127a311d2c1dcd4441098a176faafe51f52 (patch) | |
tree | 988ffa9f56d8bcaefc64d7b8990863729df40fd3 /components/script | |
parent | 22df9943c191fd1fef257d4578c62f48d6ad992f (diff) | |
parent | e10206e91e38ee87b8c0df3fb4d64d52fd03e481 (diff) | |
download | servo-6c179127a311d2c1dcd4441098a176faafe51f52.tar.gz servo-6c179127a311d2c1dcd4441098a176faafe51f52.zip |
Merge pull request #3327 from metajack/cargo-profiles
Reinstate errors for unused variables and imports.
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/lib.rs | 5 |
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; |