We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aafe7d8 commit e14df76Copy full SHA for e14df76
src/librustc/ich/impls_ty.rs
@@ -67,6 +67,7 @@ for ty::subst::UnpackedKind<'gcx> {
67
fn hash_stable<W: StableHasherResult>(&self,
68
hcx: &mut StableHashingContext<'a>,
69
hasher: &mut StableHasher<W>) {
70
+ mem::discriminant(self).hash_stable(hcx, hasher);
71
match self {
72
ty::subst::UnpackedKind::Lifetime(lt) => lt.hash_stable(hcx, hasher),
73
ty::subst::UnpackedKind::Type(ty) => ty.hash_stable(hcx, hasher),
0 commit comments