Auto merge of #10706 - zwn:unused-extern-crates, r=nox

Turn on unused-extern-crates warning.

As discussed in #9256. It should solve second half of the issue.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10706)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-22 13:40:38 -07:00
commit 0a3a50a129
29 changed files with 23 additions and 55 deletions

View file

@ -72,7 +72,6 @@ libc = "0.2"
log = "0.3.5"
rustc-serialize = "0.3"
selectors = {version = "0.5.1", features = ["heap_size"]}
serde = "0.7"
serde_json = "0.7"
serde_macros = "0.7"
smallvec = "0.1"

View file

@ -21,6 +21,7 @@
extern crate app_units;
extern crate azure;
#[allow(unused_extern_crates)]
#[macro_use]
extern crate bitflags;
extern crate canvas_traits;
@ -49,7 +50,6 @@ extern crate rustc_serialize;
extern crate script;
extern crate script_traits;
extern crate selectors;
extern crate serde;
extern crate serde_json;
extern crate smallvec;
#[macro_use(atom, ns)] extern crate string_cache;