std: Rename {Eq,Ord} to Partial{Eq,Ord}

This is part of the ongoing renaming of the equality traits. See #12517 for more
details. All code using Eq/Ord will temporarily need to move to Partial{Eq,Ord}
or the Total{Eq,Ord} traits. The Total traits will soon be renamed to {Eq,Ord}.

cc #12517

[breaking-change]
This commit is contained in:
Alex Crichton
2014-05-29 17:45:07 -07:00
parent f4fa7c8a07
commit 748bc3ca49
256 changed files with 834 additions and 831 deletions

View File

@@ -307,7 +307,7 @@ pub fn find_crateid(attrs: &[Attribute]) -> Option<CrateId> {
}
}
#[deriving(Eq)]
#[deriving(PartialEq)]
pub enum InlineAttr {
InlineNone,
InlineHint,
@@ -396,7 +396,7 @@ pub struct Stability {
}
/// The available stability levels.
#[deriving(Eq,Ord,Clone,Show)]
#[deriving(PartialEq,PartialOrd,Clone,Show)]
pub enum StabilityLevel {
Deprecated,
Experimental,
@@ -522,7 +522,7 @@ fn int_type_of_word(s: &str) -> Option<IntType> {
}
}
#[deriving(Eq, Show)]
#[deriving(PartialEq, Show)]
pub enum ReprAttr {
ReprAny,
ReprInt(Span, IntType),
@@ -539,7 +539,7 @@ impl ReprAttr {
}
}
#[deriving(Eq, Show)]
#[deriving(PartialEq, Show)]
pub enum IntType {
SignedInt(ast::IntTy),
UnsignedInt(ast::UintTy)