diff --git a/src/libserialize/tests/json.rs b/src/libserialize/tests/json.rs index 8342e4f9742..898168252e5 100644 --- a/src/libserialize/tests/json.rs +++ b/src/libserialize/tests/json.rs @@ -1,4 +1,4 @@ -#![allow(rustc::default_hash_types)] +#![allow(rustc::internal)] extern crate serialize as rustc_serialize; diff --git a/src/libserialize/tests/opaque.rs b/src/libserialize/tests/opaque.rs index 26b113699c6..592bc090399 100644 --- a/src/libserialize/tests/opaque.rs +++ b/src/libserialize/tests/opaque.rs @@ -1,4 +1,4 @@ -#![allow(rustc::default_hash_types)] +#![allow(rustc::internal)] extern crate serialize as rustc_serialize;