about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2017-10-10 17:08:29 +0200
committerMichael Woerister <michaelwoerister@posteo>2017-10-10 17:08:49 +0200
commit7a016c1ca6a6f27876fd07b1aa67e55ca6cba231 (patch)
tree9ac9e788a3643b01f86944119871fa684d74bcd7
parent0217315bf23edee385a7042b5a23b3e7e376820c (diff)
downloadrust-7a016c1ca6a6f27876fd07b1aa67e55ca6cba231.tar.gz
rust-7a016c1ca6a6f27876fd07b1aa67e55ca6cba231.zip
incr.comp.: Add missing match branch in HashStable impl for ty::RegionKind.
-rw-r--r--src/librustc/ich/impls_ty.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc/ich/impls_ty.rs b/src/librustc/ich/impls_ty.rs
index fe060aaf426..582c4e13a82 100644
--- a/src/librustc/ich/impls_ty.rs
+++ b/src/librustc/ich/impls_ty.rs
@@ -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);