From 295b46fc08c8cc6da0a144cd90c401d5b26a1faf Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 15 Jan 2014 13:25:09 -0800 Subject: Tweak the interface of std::io * Reexport io::mem and io::buffered structs directly under io, make mem/buffered private modules * Remove with_mem_writer * Remove DEFAULT_CAPACITY and use DEFAULT_BUF_SIZE (in io::buffered) --- src/compiletest/errors.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/compiletest/errors.rs') diff --git a/src/compiletest/errors.rs b/src/compiletest/errors.rs index b15bf73c193..3a6b1666c1e 100644 --- a/src/compiletest/errors.rs +++ b/src/compiletest/errors.rs @@ -8,8 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use std::io::buffered::BufferedReader; -use std::io::File; +use std::io::{BufferedReader, File}; pub struct ExpectedError { line: uint, kind: ~str, msg: ~str } -- cgit 1.4.1-3-g733a5