macro_rules! impl_stable_hash_via_hash {
    ($t:ty) => { ... };
}
Expand description

Implement HashStable by just calling Hash::hash().

WARNING This is only valid for types that really don’t need any context for fingerprinting. But it is easy to misuse this macro (see #96013 for examples). Therefore this macro is not exported and should only be used in the limited cases here in this module.

Use #[derive(HashStable_Generic)] instead.