Register snapshots. Remove redundant Eq impls, Makefile hacks
This commit is contained in:
@@ -3657,15 +3657,6 @@ impl parser {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(stage0)]
|
||||
impl restriction : cmp::Eq {
|
||||
pure fn eq(&&other: restriction) -> bool {
|
||||
(self as uint) == (other as uint)
|
||||
}
|
||||
pure fn ne(&&other: restriction) -> bool { !self.eq(other) }
|
||||
}
|
||||
#[cfg(stage1)]
|
||||
#[cfg(stage2)]
|
||||
impl restriction : cmp::Eq {
|
||||
pure fn eq(other: &restriction) -> bool {
|
||||
(self as uint) == ((*other) as uint)
|
||||
|
||||
Reference in New Issue
Block a user