From 8e5555909c1c425241ff3733efaa50986a124623 Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Sun, 21 Apr 2019 10:52:12 +0200 Subject: [PATCH] Allow unused_extern_crates for rustc_libserialize --- src/libserialize/tests/json.rs | 1 + src/libserialize/tests/opaque.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libserialize/tests/json.rs b/src/libserialize/tests/json.rs index 3fb6bda679b..0fe3d4cfd62 100644 --- a/src/libserialize/tests/json.rs +++ b/src/libserialize/tests/json.rs @@ -1,3 +1,4 @@ +#[allow(unused_extern_crates)] extern crate serialize as rustc_serialize; use rustc_serialize::{Encodable, Decodable}; diff --git a/src/libserialize/tests/opaque.rs b/src/libserialize/tests/opaque.rs index fff6fc69e78..62a8f251244 100644 --- a/src/libserialize/tests/opaque.rs +++ b/src/libserialize/tests/opaque.rs @@ -1,3 +1,4 @@ +#[allow(unused_extern_crates)] extern crate serialize as rustc_serialize; use rustc_serialize::{Encodable, Decodable};