-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustc: Accept PartialOrd/PartialOrdEq for Eq/Ord
This is a transitionary step towards completing #12517. This change modifies the compiler to accept Partial{Ord,Eq} as deriving modes which will currently expand to implementations of PartialOrd and PartialEq (synonyms for Eq/Ord). After a snapshot, all of deriving(Eq, Ord) will be removed, and after a snapshot of that, TotalEq/TotalOrd will be renamed to Eq/Ord.
- Loading branch information
1 parent
24b1ce1
commit f786f9b
Showing
4 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f786f9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from pnkfelix
at alexcrichton@f786f9b
f786f9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/totaleq = f786f9b into auto
f786f9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/totaleq = f786f9b merged ok, testing candidate = 50b8528
f786f9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5989
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5987
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/5083
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5091
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/6087
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/5175
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5183
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/6089
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/5174
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/5180
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5240
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2976
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/6079
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/5175
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/5190
f786f9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 50b8528