Skip to content

Commit

Permalink
Fix compiling libserialize tests
Browse files Browse the repository at this point in the history
They've got new warnings turned on so they need more `#![allow]`
  • Loading branch information
alexcrichton committed Sep 23, 2019
1 parent 9b34ef6 commit 7b907de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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};
Expand Down
2 changes: 2 additions & 0 deletions 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};
Expand Down

0 comments on commit 7b907de

Please sign in to comment.