about summary refs log tree commit diff
path: root/src/libcore/array.rs
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2015-01-28 14:54:25 +1300
committerNick Cameron <ncameron@mozilla.com>2015-01-30 12:00:20 +1300
commitc64a96d385fb3b23c6744cf8d927c9c175936b5f (patch)
tree6ca5688c381c664a4b62539d917549cb59ecd55e /src/libcore/array.rs
parenta9d465fec902588b71937de96e66d160d2adebf5 (diff)
downloadrust-c64a96d385fb3b23c6744cf8d927c9c175936b5f.tar.gz
rust-c64a96d385fb3b23c6744cf8d927c9c175936b5f.zip
Remove FullRange from the prelude etc.
Diffstat (limited to 'src/libcore/array.rs')
-rw-r--r--src/libcore/array.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs
index 44541c34ee2..a81615944fb 100644
--- a/src/libcore/array.rs
+++ b/src/libcore/array.rs
@@ -19,7 +19,10 @@ use cmp::{PartialEq, Eq, PartialOrd, Ord, Ordering};
 use fmt;
 use hash::{Hash, Hasher, self};
 use marker::Copy;
+#[cfg(stage0)]
 use ops::{Deref, FullRange};
+#[cfg(not(stage0))]
+use ops::Deref;
 use option::Option;
 
 // macro for implementing n-ary tuple functions and operations