diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2017-10-10 17:08:29 +0200 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2017-10-10 17:08:49 +0200 |
| commit | 7a016c1ca6a6f27876fd07b1aa67e55ca6cba231 (patch) | |
| tree | 9ac9e788a3643b01f86944119871fa684d74bcd7 | |
| parent | 0217315bf23edee385a7042b5a23b3e7e376820c (diff) | |
| download | rust-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.rs | 3 |
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); |
