Skip to content

Commit

Permalink
incr.comp.: Add missing match branch in HashStable impl for ty::Regio…
Browse files Browse the repository at this point in the history
…nKind.
  • Loading branch information
michaelwoerister committed Oct 10, 2017
1 parent 0217315 commit 7a016c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustc/ich/impls_ty.rs
Expand Up @@ -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);
Expand Down

0 comments on commit 7a016c1

Please sign in to comment.