We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you auto-derive PartialEq or PartialOrd on a struct containing unit, this will trigger unit_cmp.
PartialEq
PartialOrd
unit_cmp
Example (from Rust, src/libcollections/string.rs:1035-1036:
src/libcollections/string.rs:1035-1036
#[derive(PartialEq)] pub struct ParseError(());
The text was updated successfully, but these errors were encountered:
We should macro check this one.
Sorry, something went wrong.
Yes. I already wrote that in the title.
Oh, wow, I'm an idiot 😝
No branches or pull requests
If you auto-derive
PartialEq
orPartialOrd
on a struct containing unit, this will triggerunit_cmp
.Example (from Rust,
src/libcollections/string.rs:1035-1036
:The text was updated successfully, but these errors were encountered: