]> git.lizzy.rs Git - rust.git/commitdiff
incr.comp.: Add missing match branch in HashStable impl for ty::RegionKind.
authorMichael Woerister <michaelwoerister@posteo>
Tue, 10 Oct 2017 15:08:29 +0000 (17:08 +0200)
committerMichael Woerister <michaelwoerister@posteo>
Tue, 10 Oct 2017 15:08:49 +0000 (17:08 +0200)
src/librustc/ich/impls_ty.rs

index fe060aaf4269e5ce6f55525d2bc16a3b8c866866..582c4e13a82ca71fc2f2960f834795d657032370 100644 (file)
@@ -61,6 +61,9 @@ fn hash_stable<W: StableHasherResult>(&self,
                 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);