Silence unused-extern-crates false positives.

Added #[allow(unused_extern_crates)] to silence false positives

 * bitflags, lazy_static and matches because macro_use
 * alloc_jemalloc because builtin crate

See https://github.com/rust-lang/rust/issues/30849
This commit is contained in:
Zbynek Winkler 2016-04-20 09:25:50 +02:00
parent a7c885706e
commit b021874ba0
10 changed files with 14 additions and 0 deletions

View file

@ -18,6 +18,7 @@
#![deny(unsafe_code)]
extern crate app_units;
#[allow(unused_extern_crates)]
#[macro_use]
extern crate bitflags;
extern crate deque;
@ -27,6 +28,7 @@ extern crate heapsize;
extern crate ipc_channel;
#[cfg(feature = "non-geckolib")]
extern crate js;
#[allow(unused_extern_crates)]
#[macro_use]
extern crate lazy_static;
extern crate libc;