incr.comp.: Add missing match branch in HashStable impl for ty::RegionKind.

This commit is contained in:
Michael Woerister 2017-10-10 17:08:29 +02:00
parent 0217315bf2
commit 7a016c1ca6

View File

@ -61,6 +61,9 @@ for ty::RegionKind {
def_id.hash_stable(hcx, hasher);
name.hash_stable(hcx, hasher);
}
ty::ReLateBound(db, ty::BrEnv) => {
db.depth.hash_stable(hcx, hasher);
}
ty::ReEarlyBound(ty::EarlyBoundRegion { def_id, index, name }) => {
def_id.hash_stable(hcx, hasher);
index.hash_stable(hcx, hasher);