diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-11-28 12:33:00 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-11-28 12:33:00 -0800 |
| commit | 8179e268efd86ae5c1bcf21b4f8d4e01eea7c193 (patch) | |
| tree | 7e3fd944a844a195a0ed1bed8717db07a2d8ccc8 /src/libcore/cmp.rs | |
| parent | be6613e048c889a0aeaff056131c2406259f1fb4 (diff) | |
| download | rust-8179e268efd86ae5c1bcf21b4f8d4e01eea7c193.tar.gz rust-8179e268efd86ae5c1bcf21b4f8d4e01eea7c193.zip | |
Register snapshots
Diffstat (limited to 'src/libcore/cmp.rs')
| -rw-r--r-- | src/libcore/cmp.rs | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs index c71111fb9e3..97f439d936b 100644 --- a/src/libcore/cmp.rs +++ b/src/libcore/cmp.rs @@ -30,17 +30,6 @@ mod nounittest { * default implementations. */ #[lang="ord"] - #[cfg(stage0)] - pub trait Ord { - pure fn lt(other: &self) -> bool; - pure fn le(other: &self) -> bool; - pure fn ge(other: &self) -> bool; - pure fn gt(other: &self) -> bool; - } - - #[lang="ord"] - #[cfg(stage1)] - #[cfg(stage2)] pub trait Ord { pure fn lt(&self, other: &self) -> bool; pure fn le(&self, other: &self) -> bool; @@ -58,15 +47,6 @@ mod nounittest { * a default implementation. */ #[lang="eq"] - #[cfg(stage0)] - pub trait Eq { - pure fn eq(other: &self) -> bool; - pure fn ne(other: &self) -> bool; - } - - #[lang="eq"] - #[cfg(stage1)] - #[cfg(stage2)] pub trait Eq { pure fn eq(&self, other: &self) -> bool; pure fn ne(&self, other: &self) -> bool; @@ -81,16 +61,6 @@ mod nounittest { mod unittest { #[legacy_exports]; - #[cfg(stage0)] - pub trait Ord { - pure fn lt(other: &self) -> bool; - pure fn le(other: &self) -> bool; - pure fn ge(other: &self) -> bool; - pure fn gt(other: &self) -> bool; - } - - #[cfg(stage1)] - #[cfg(stage2)] pub trait Ord { pure fn lt(&self, other: &self) -> bool; pure fn le(&self, other: &self) -> bool; @@ -98,14 +68,6 @@ mod unittest { pure fn gt(&self, other: &self) -> bool; } - #[cfg(stage0)] - pub trait Eq { - pure fn eq(other: &self) -> bool; - pure fn ne(other: &self) -> bool; - } - - #[cfg(stage1)] - #[cfg(stage2)] pub trait Eq { pure fn eq(&self, other: &self) -> bool; pure fn ne(&self, other: &self) -> bool; |
