mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
210f0dcf00
This fixes #16530 by hashing nullary structs [the same way as the empty tuple] (https://github.com/rust-lang/rust/blob/master/src/libcore/hash/mod.rs#L185). Other approaches are possible, but this was the simplest.