diff options
author | Zbynek Winkler <zbynek.winkler@gmail.com> | 2016-04-20 09:25:50 +0200 |
---|---|---|
committer | Zbynek Winkler <zbynek.winkler@gmail.com> | 2016-04-22 22:20:05 +0200 |
commit | b021874ba08f1d207e70ddaf32b374c9533e29f0 (patch) | |
tree | c674acfdc95cf267f4861fc7a0a03b7edc4f83da /components/util/lib.rs | |
parent | a7c885706ec4bd526b00ecad5d870415ae6cc1e1 (diff) | |
download | servo-b021874ba08f1d207e70ddaf32b374c9533e29f0.tar.gz servo-b021874ba08f1d207e70ddaf32b374c9533e29f0.zip |
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
Diffstat (limited to 'components/util/lib.rs')
-rw-r--r-- | components/util/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/util/lib.rs b/components/util/lib.rs index 5eb530f1b19..b4998b0580c 100644 --- a/components/util/lib.rs +++ b/components/util/lib.rs @@ -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; |