Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register new snapshots #13171

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/libstd/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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 {}
Expand Down
8 changes: 8 additions & 0 deletions src/snapshots.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down