]> git.lizzy.rs Git - rust.git/commitdiff
Fix compiling libserialize tests
authorAlex Crichton <alex@alexcrichton.com>
Tue, 10 Sep 2019 16:10:32 +0000 (09:10 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 23 Sep 2019 16:34:44 +0000 (09:34 -0700)
They've got new warnings turned on so they need more `#![allow]`

src/libserialize/tests/json.rs
src/libserialize/tests/opaque.rs

index 3fb6bda679bc1173522da11c328c8acb5465a9ff..8342e4f97426ea52a96ddd75b8e490fc9d08ba43 100644 (file)
@@ -1,3 +1,5 @@
+#![allow(rustc::default_hash_types)]
+
 extern crate serialize as rustc_serialize;
 
 use rustc_serialize::{Encodable, Decodable};
index fff6fc69e78428301107b5c101cf70b6d0f47ff3..26b113699c68da109814967d121629ab60dbad2e 100644 (file)
@@ -1,3 +1,5 @@
+#![allow(rustc::default_hash_types)]
+
 extern crate serialize as rustc_serialize;
 
 use rustc_serialize::{Encodable, Decodable};