about summary refs log tree commit diff
path: root/src/libcore/util.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-02-28 11:57:33 -0500
committerAlex Crichton <alex@alexcrichton.com>2013-03-04 12:27:01 -0500
commitcb4ab76e4a17e0efc6b506af15fd1df654c043ff (patch)
treef12c8ae2ad1979e973ccf4ef95b1a396a2daa246 /src/libcore/util.rs
parentbc3bee410a6967942d18cef59a781603a7db86e4 (diff)
downloadrust-cb4ab76e4a17e0efc6b506af15fd1df654c043ff.tar.gz
rust-cb4ab76e4a17e0efc6b506af15fd1df654c043ff.zip
Adding missing imports for tests, and gate off others
Diffstat (limited to 'src/libcore/util.rs')
-rw-r--r--src/libcore/util.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/util.rs b/src/libcore/util.rs
index 48be6178ed2..742eee7dc27 100644
--- a/src/libcore/util.rs
+++ b/src/libcore/util.rs
@@ -103,6 +103,7 @@ pub fn unreachable() -> ! {
 
 #[cfg(test)]
 mod tests {
+    use option::{None, Some};
     use util::{NonCopyable, id, replace, swap};
 
     #[test]