Skip to content
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

[Rust] Implement PartialEq and PartialOrd for all references? #114

Open
TethysSvensson opened this issue Jul 10, 2022 · 0 comments
Open
Labels
enhancement New feature or request rust-backend

Comments

@TethysSvensson
Copy link
Collaborator

TethysSvensson commented Jul 10, 2022

We could in principle implement PartialEq and PartialOrd for all reference types if we just decide that any error is incomparable (and hence also non-equal) and that we do not compare any field we do not know about.

This might be a sufficiently large usability improvement that I am willing to accept the fact that it is to some extent a footgun.

@TethysSvensson TethysSvensson added enhancement New feature or request rust-backend labels Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rust-backend
Projects
None yet
Development

No branches or pull requests

1 participant