Register snapshots. Remove redundant Eq impls, Makefile hacks

This commit is contained in:
Brian Anderson 2012-09-23 22:25:43 -07:00
parent 2dae768624
commit afd91f8a56
76 changed files with 8 additions and 3677 deletions

View file

@ -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)