From 26ba6542b783e77cbbcaf58155b7031196207f42 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 27 Mar 2014 09:29:05 -0700 Subject: [PATCH] Register new snapshots --- src/libstd/cmp.rs | 10 ---------- src/snapshots.txt | 8 ++++++++ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/libstd/cmp.rs b/src/libstd/cmp.rs index e956a1cdf1d63..f18bd27e18f9b 100644 --- a/src/libstd/cmp.rs +++ b/src/libstd/cmp.rs @@ -42,7 +42,6 @@ pub trait Eq { } /// Trait for equality comparisons where `a == b` and `a != b` are strict inverses. -#[cfg(not(stage0))] pub trait TotalEq: Eq { // FIXME #13101: this method is used solely by #[deriving] to // assert that every component of a type implements #[deriving] @@ -56,15 +55,6 @@ pub trait TotalEq: Eq { fn assert_receiver_is_total_eq(&self) {} } -#[cfg(stage0)] -pub trait TotalEq: Eq { - /// This method must return the same value as `eq`. It exists to prevent - /// deriving `TotalEq` from fields not implementing the `TotalEq` trait. - fn equals(&self, other: &Self) -> bool { - self.eq(other) - } -} - macro_rules! totaleq_impl( ($t:ty) => { impl TotalEq for $t {} diff --git a/src/snapshots.txt b/src/snapshots.txt index f7f1c2d6aa378..cc60f92b20cc2 100644 --- a/src/snapshots.txt +++ b/src/snapshots.txt @@ -1,3 +1,11 @@ +S 2014-03-26 c83994e + freebsd-x86_64 676279c136db59908858fba3b69bdd389596ef04 + linux-i386 5e7fb4dca1b0a10ccd4e3a45d0ae8cf8ccb07d2d + linux-x86_64 3da4980daa7e059f0aa1dfa1773d1dbd6cca49e8 + macos-i386 151614ce60a4da06248a5fbf097d0673da2c162b + macos-x86_64 b9c3bc4bd6f65806130fc2cc9898d898bef25f29 + winnt-i386 735c561f13a9680fddb27e67800f6f4fc06e2840 + S 2014-03-22 94e4e91 freebsd-x86_64 7793127e1b9ad22cb2e020f9bb01f34526cc4656 linux-i386 aa53699d32d7acb86a6447f988c4ac73ac310bab