mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
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:
parent
a7c885706e
commit
b021874ba0
10 changed files with 14 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
#![recursion_limit = "500"] // For match_ignore_ascii_case in PropertyDeclaration::parse
|
||||
|
||||
extern crate app_units;
|
||||
#[allow(unused_extern_crates)]
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
extern crate core;
|
||||
|
@ -28,10 +29,12 @@ extern crate encoding;
|
|||
extern crate euclid;
|
||||
extern crate fnv;
|
||||
extern crate heapsize;
|
||||
#[allow(unused_extern_crates)]
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
#[allow(unused_extern_crates)]
|
||||
#[macro_use]
|
||||
extern crate matches;
|
||||
extern crate num;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue