-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Missing Eq implementations for types implementing PartialEq #36301
Comments
A quick |
That is really not an accurate way of measuring it because it takes into account all of the rustc-internal types, and worse, tests, for which it probably doesn't matter much whether they implement Eq or not. Here's a nicer way:
This produces only 29 examples, some of which implement Eq without deriving it:
|
Add missing Eq implementations Part of rust-lang#36301.
|
I checked the search from #36301 (comment) and it looks like all the public types that should implement PartialEq now do. Fixed! |
Specifically (I looked at everything in std ):
There seems to be no good reason for omitting Eq there, just an oversight. All other similar types already implement Eq.
The text was updated successfully, but these errors were encountered: