fix(rustup): static bounds required on Type definition, trivial_casts

This commit is contained in:
Kevin Butler
2015-03-26 16:02:04 +00:00
parent a10e7ded93
commit eee7a85d3c
9 changed files with 50 additions and 22 deletions

View File

@@ -112,7 +112,6 @@ mod tests {
use http::HttpReader::EofReader;
use http::RawStatus;
use mock::MockStream;
use net::NetworkStream;
use status;
use version;
@@ -131,7 +130,7 @@ mod tests {
status: status::StatusCode::Ok,
headers: Headers::new(),
version: version::HttpVersion::Http11,
body: EofReader(BufReader::new(box MockStream::new() as Box<NetworkStream + Send>)),
body: EofReader(BufReader::new(box MockStream::new())),
status_raw: RawStatus(200, Borrowed("OK")),
_marker: PhantomData,
};