Skip to content

Commit 7a016c1

Browse files
incr.comp.: Add missing match branch in HashStable impl for ty::RegionKind.
1 parent 0217315 commit 7a016c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc/ich/impls_ty.rs

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ for ty::RegionKind {
6161
def_id.hash_stable(hcx, hasher);
6262
name.hash_stable(hcx, hasher);
6363
}
64+
ty::ReLateBound(db, ty::BrEnv) => {
65+
db.depth.hash_stable(hcx, hasher);
66+
}
6467
ty::ReEarlyBound(ty::EarlyBoundRegion { def_id, index, name }) => {
6568
def_id.hash_stable(hcx, hasher);
6669
index.hash_stable(hcx, hasher);

0 commit comments

Comments
 (0)