Skip to content

Commit 13f66d3

Browse files
michaelwoeristeralexcrichton
authored andcommitted
incr.comp.: Add missing match branch in HashStable impl for ty::RegionKind.
1 parent 733203a commit 13f66d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc/ich/impls_ty.rs

Lines changed: 3 additions & 0 deletions
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)