Are Hash and Hasher outputs guaranteed to be stable between rust versions?

The problem is that even if a Hash implementation is stable, Rust might still change what data a given type feeds to the hasher. For example, maybe a (i32, i32) starts providing the integers in the opposite order in a new rustc version.

7 Likes