diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-23 22:25:43 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-23 23:01:49 -0700 |
| commit | afd91f8a5698e7767ddfbf90c665c08dcd4f0de0 (patch) | |
| tree | 3bc5d52fd888c010ea797f6570c92abe861c183a /src/libstd/test.rs | |
| parent | 2dae768624de87bcec1160bd29c27af1affe7f5f (diff) | |
| download | rust-afd91f8a5698e7767ddfbf90c665c08dcd4f0de0.tar.gz rust-afd91f8a5698e7767ddfbf90c665c08dcd4f0de0.zip | |
Register snapshots. Remove redundant Eq impls, Makefile hacks
Diffstat (limited to 'src/libstd/test.rs')
| -rw-r--r-- | src/libstd/test.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libstd/test.rs b/src/libstd/test.rs index a4af0a1772f..51c0ad385ce 100644 --- a/src/libstd/test.rs +++ b/src/libstd/test.rs @@ -96,15 +96,6 @@ fn parse_opts(args: &[~str]) -> OptRes { enum TestResult { TrOk, TrFailed, TrIgnored, } -#[cfg(stage0)] -impl TestResult : Eq { - pure fn eq(&&other: TestResult) -> bool { - (self as uint) == (other as uint) - } - pure fn ne(&&other: TestResult) -> bool { !self.eq(other) } -} -#[cfg(stage1)] -#[cfg(stage2)] impl TestResult : Eq { pure fn eq(other: &TestResult) -> bool { (self as uint) == ((*other) as uint) |
