External Publication
Visit Post

The Hashtable Problem: A Litmus Test for External Impl Proposals

Rust Internals [Unofficial] June 13, 2026
Source
  • Crate A defines struct Key
  • Crate B defines: impl Hash for Key use AlterHashB
  • Crate C defines: impl Hash for Key use AlterHashC
  • The bin depends A,B,C, there is also casting from HashMap<Key + Hash use AlterHashB, _> to HashMap<Key + Hash use AlterHashC, _>

Discussion in the ATmosphere

Loading comments...