mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
f53b654a88
Simplify `HashStable` This PR: - Simplifies the `HashStable` trait, by moving its generic parameter from the trait to its single method. - Eliminates the need for the non-obvious `derive(HashStable)`/`derive(HashStable_Generic)` distinction. - Reduces the need for, and clarifies, the non-obvious `derive(HashStable)`/`derive(HashStable_NoContext)` distinction. r? @fee1-dead