diff --git a/src/client/request.rs b/src/client/request.rs index 338bb52d56..a1da08bfbe 100644 --- a/src/client/request.rs +++ b/src/client/request.rs @@ -176,7 +176,6 @@ impl Write for Request { #[cfg(test)] mod tests { - use std::boxed::BoxAny; use std::str::from_utf8; use url::Url; use method::Method::{Get, Head}; diff --git a/src/client/response.rs b/src/client/response.rs index 28f7849d83..ba2984edb7 100644 --- a/src/client/response.rs +++ b/src/client/response.rs @@ -103,7 +103,6 @@ impl Read for Response { #[cfg(test)] mod tests { use std::borrow::Cow::Borrowed; - use std::boxed::BoxAny; use std::io::{self, Read}; use std::marker::PhantomData; diff --git a/src/lib.rs b/src/lib.rs index 397390462d..a6f51a5000 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,7 @@ #![feature(core, io, unsafe_destructor, into_cow, convert)] #![deny(missing_docs)] #![cfg_attr(test, deny(warnings))] -#![cfg_attr(test, feature(alloc, test))] +#![cfg_attr(test, feature(test))] //! # Hyper //! Hyper is a fast, modern HTTP implementation written in and for Rust. It