Implement Ord, PartialOrd, Eq, PartialEq by hand#470
Implement Ord, PartialOrd, Eq, PartialEq by hand#470bvssvni merged 2 commits intoPistonDevelopers:masterfrom
Conversation
|
The travis build is failing due to an issue with Cargo. |
|
This is an issue with Cargo not piston, isn't it? The PR compiles and runs on my machine, I have the latest nightly installed. |
|
@gmorenz: For some reason, I keep switching those words up. You were right; I've edited my comment. |
|
The hammer.rs issue has been fixed. Next steps for this PR? |
|
I think it can be merged... I don't think I am supposed to be merging pull requests unfortunately, though I technical have the ability to. If you need to build against this (or any non merged pull request) in the meantime you can check out the PR locally, and use |
|
Trying to build with this PR, I get the following error: |
|
So |
|
Your error message doesn't seem to be coming from a version of piston including this pull request, e.g. on line 266 you have For reference the following sequence of commands successfully builds piston from scratch with this PR for me: |
|
Yeah it worked with your instructions. My bad :P |
Implement Ord, PartialOrd, Eq, PartialEq by hand
There is a bug in rustc that causes code explosion when auto-implementing PartialOrd. rust-lang/rust#15375
Until those issues are fixed, I've implemented them by hand.
Closes #467