Regenerate tests

This commit is contained in:
Oliver Schneider 2018-03-05 10:21:11 +01:00
parent 6cfda078bf
commit aedd4c61ea
No known key found for this signature in database
GPG key ID: A69F8D225B3AD7D9
34 changed files with 255 additions and 291 deletions

View file

@ -61,10 +61,10 @@ for ty::subst::Kind<'gcx> {
}
}
impl<'gcx> HashStable<StableHashingContext<'gcx>>
impl<'a, 'gcx> HashStable<StableHashingContext<'a>>
for ty::subst::UnpackedKind<'gcx> {
fn hash_stable<W: StableHasherResult>(&self,
hcx: &mut StableHashingContext<'gcx>,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>) {
match self {
ty::subst::UnpackedKind::Lifetime(lt) => lt.hash_stable(hcx, hasher),

View file

@ -362,6 +362,7 @@ impl<'sess> OnDiskCache<'sess> {
cnum_map: cnum_map.as_ref().unwrap(),
file_index_to_file: &self.file_index_to_file,
file_index_to_stable_id: &self.file_index_to_stable_id,
synthetic_expansion_infos: &self.synthetic_expansion_infos,
interpret_alloc_cache: FxHashMap::default(),
};