Skip to content

Commit

Permalink
Enable check that Hash and PartialEq impls aren't different
Browse files Browse the repository at this point in the history
This is a crude check, just seeing if Hash is derived and PartialEq is not, but it's
at least something.
  • Loading branch information
Susurrus committed Jan 23, 2019
1 parent 4221c46 commit a9f2a50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
#![cfg_attr(not(any(feature = "use_std", feature = "rustc-dep-of-std")), no_std)]
// Enable lints
#![cfg_attr(feature = "extra_traits", deny(missing_debug_implementations))]
#![cfg_attr(feature = "extra_traits", deny(clippy::derive_hash_xor_eq))]
#![deny(missing_copy_implementations)]

#[cfg(all(not(cross_platform_docs), feature = "use_std"))]
Expand Down

0 comments on commit a9f2a50

Please sign in to comment.