We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ty::list::RawList
1 parent 00c421e commit e0d6581Copy full SHA for e0d6581
compiler/rustc_middle/src/ty/impls_ty.rs
@@ -35,7 +35,11 @@ where
35
return hash;
36
}
37
38
- let mut hasher = GenericStableHasher::<H>::new();
+ // FIXME: This caching doesn't work with a generic stable hasher.
39
+ // We therefor force the use of `StableHasher`. We should figure out
40
+ // a way to have to either cache for each hasher or only cache with
41
+ // the primary `StableHasher` hasher.
42
+ let mut hasher = StableHasher::new();
43
self[..].hash_stable(hcx, &mut hasher);
44
45
let hash: Fingerprint = hasher.finish();
0 commit comments