]> git.lizzy.rs Git - rust.git/commit
fix #21714 by using discriminant_value in #[derive(Hash)]
authorAlex Burka <aburka@seas.upenn.edu>
Mon, 7 Mar 2016 18:05:12 +0000 (13:05 -0500)
committerAlex Burka <aburka@seas.upenn.edu>
Sun, 27 Mar 2016 05:25:46 +0000 (01:25 -0400)
commitc480b6a75df08cef48190e3c18eab26e99bae58c
tree2735939396a33874f15e586382033c9a7ce0190f
parent01c0723ef247fec4b85af203c7247b66e3817e1b
fix #21714 by using discriminant_value in #[derive(Hash)]

This is the same approach taken in #24270, except that this
should not be a breaking change because it only changes the output
of hash functions, which nobody should be relying on.
src/libsyntax_ext/deriving/hash.rs