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

@@ -11,28 +11,6 @@ enum path_elt {
path_name(ident)
}
#[cfg(stage0)]
impl path_elt : cmp::Eq {
pure fn eq(&&other: path_elt) -> bool {
match self {
path_mod(e0a) => {
match other {
path_mod(e0b) => e0a == e0b,
_ => false
}
}
path_name(e0a) => {
match other {
path_name(e0b) => e0a == e0b,
_ => false
}
}
}
}
pure fn ne(&&other: path_elt) -> bool { !self.eq(other) }
}
#[cfg(stage1)]
#[cfg(stage2)]
impl path_elt : cmp::Eq {
pure fn eq(other: &path_elt) -> bool {
match self {