From 7a016c1ca6a6f27876fd07b1aa67e55ca6cba231 Mon Sep 17 00:00:00 2001 From: Michael Woerister <michaelwoerister@posteo> Date: Tue, 10 Oct 2017 17:08:29 +0200 Subject: [PATCH] incr.comp.: Add missing match branch in HashStable impl for ty::RegionKind. --- src/librustc/ich/impls_ty.rs | 3 +++ 1 file changed, 3 insertions(+) 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);