Skip to content

Commit ddfbf2b

Browse files
committedMar 1, 2018
Auto merge of #47861 - sgrif:sg-rebase-chalkify-universe-refactorings, r=nikomatsakis
Rebased refactorings for Chalk The code is Niko's, I just handled the rebase. r? @nikomatsakis
·
1.88.01.26.0
2 parents 3eeb5a6 + fec4d3b commit ddfbf2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+660
-1315
lines changed
 

‎src/Cargo.lock

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/librustc/ich/impls_ty.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@ for ty::steal::Steal<T>
870870

871871
impl_stable_hash_for!(struct ty::ParamEnv<'tcx> {
872872
caller_bounds,
873+
universe,
873874
reveal
874875
});
875876

@@ -1039,3 +1040,12 @@ for traits::VtableGeneratorData<'gcx, N> where N: HashStable<StableHashingContex
10391040
nested.hash_stable(hcx, hasher);
10401041
}
10411042
}
1043+
1044+
impl<'gcx> HashStable<StableHashingContext<'gcx>>
1045+
for ty::UniverseIndex {
1046+
fn hash_stable<W: StableHasherResult>(&self,
1047+
hcx: &mut StableHashingContext<'gcx>,
1048+
hasher: &mut StableHasher<W>) {
1049+
self.depth().hash_stable(hcx, hasher);
1050+
}
1051+
}

0 commit comments

Comments
 (0)
Please sign in to comment.