From 7b907ded0e38f0bba7b7fee43b4a7f4669564ae8 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 10 Sep 2019 09:10:32 -0700 Subject: [PATCH] Fix compiling libserialize tests They've got new warnings turned on so they need more `#![allow]` --- src/libserialize/tests/json.rs | 2 ++ src/libserialize/tests/opaque.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/libserialize/tests/json.rs b/src/libserialize/tests/json.rs index 3fb6bda679b..8342e4f9742 100644 --- a/src/libserialize/tests/json.rs +++ b/src/libserialize/tests/json.rs @@ -1,3 +1,5 @@ +#![allow(rustc::default_hash_types)] + 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..26b113699c6 100644 --- a/src/libserialize/tests/opaque.rs +++ b/src/libserialize/tests/opaque.rs @@ -1,3 +1,5 @@ +#![allow(rustc::default_hash_types)] + extern crate serialize as rustc_serialize; use rustc_serialize::{Encodable, Decodable};