-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Derive PartialOrd when possible #882
Comments
@fitzgen Looking at the definition of PartialOrd, if you can implement PartialEq you should be able to implement PartialOrd. |
Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the If you intend to work on this issue, then add |
(Somehow missed this comment when it was originally posted) This insight should make it rather easy to implement this functionality then :) I think we can just rename the analysis from |
@highfive: assign me |
Hey @pepyakin! Thanks for your interest in working on this issue. It's now assigned to you! |
Should be very similar to deriving Default, seesrc/ir/analysis/derive_default.rs
and theCanDeriveDefault
trait that gets used in codegen.Easier than this, see #882 (comment) below.
The text was updated successfully, but these errors were encountered: