about summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-01-08 19:37:25 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-01-08 22:02:35 -0800
commit2db3abddcd6784dc5529081c6d831c972abbe755 (patch)
tree0f18922234f5fce5fda2af3bdbd7ad4a03423ecd /src/compiletest
parent3a5b64172045e7f1ec1981c8da2150c7feb73079 (diff)
downloadrust-2db3abddcd6784dc5529081c6d831c972abbe755.tar.gz
rust-2db3abddcd6784dc5529081c6d831c972abbe755.zip
librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/common.rs2
-rw-r--r--src/compiletest/errors.rs2
-rw-r--r--src/compiletest/header.rs2
-rw-r--r--src/compiletest/procsrv.rs2
-rw-r--r--src/compiletest/runtest.rs2
-rw-r--r--src/compiletest/util.rs2
6 files changed, 12 insertions, 0 deletions
diff --git a/src/compiletest/common.rs b/src/compiletest/common.rs
index 136f40c9c20..5b93c55ddc6 100644
--- a/src/compiletest/common.rs
+++ b/src/compiletest/common.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use core::prelude::*;
+
 use cmp;
 
 enum mode { mode_compile_fail, mode_run_fail, mode_run_pass, mode_pretty, }
diff --git a/src/compiletest/errors.rs b/src/compiletest/errors.rs
index 62961f6c6e4..54723253141 100644
--- a/src/compiletest/errors.rs
+++ b/src/compiletest/errors.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use core::prelude::*;
+
 use common::config;
 use io;
 use io::ReaderUtil;
diff --git a/src/compiletest/header.rs b/src/compiletest/header.rs
index 730e863d04d..9fe5d9acb9b 100644
--- a/src/compiletest/header.rs
+++ b/src/compiletest/header.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use core::prelude::*;
+
 use common;
 use common::config;
 use io;
diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs
index 666deeca191..b3884917389 100644
--- a/src/compiletest/procsrv.rs
+++ b/src/compiletest/procsrv.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use core::prelude::*;
+
 use io;
 use io::{ReaderUtil, WriterUtil};
 use libc;
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs
index a7dbfb9a3b2..d7810ced2b6 100644
--- a/src/compiletest/runtest.rs
+++ b/src/compiletest/runtest.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use core::prelude::*;
+
 use io;
 use io::WriterUtil;
 use os;
diff --git a/src/compiletest/util.rs b/src/compiletest/util.rs
index fe3bf4672c7..13614c58855 100644
--- a/src/compiletest/util.rs
+++ b/src/compiletest/util.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use core::prelude::*;
+
 use io;
 use os;
 use os::getenv;