about summary refs log tree commit diff
path: root/src/librustc/ich
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-08-21 21:47:07 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-08-21 21:47:07 -0700
commit04c66c30a7deaf2bfc1b9ba17df890e6bfd96c21 (patch)
tree93f5bb912c970bbab28cbc1fe2d29361423648dd /src/librustc/ich
parent5dc9d71521b80f6302d58d43a283efa92285871e (diff)
parent942711e115834ea2b4d91e1b3d3ae84b69cad670 (diff)
downloadrust-04c66c30a7deaf2bfc1b9ba17df890e6bfd96c21.tar.gz
rust-04c66c30a7deaf2bfc1b9ba17df890e6bfd96c21.zip
Merge remote-tracking branch 'origin/master' into gen
Diffstat (limited to 'src/librustc/ich')
-rw-r--r--src/librustc/ich/impls_ty.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustc/ich/impls_ty.rs b/src/librustc/ich/impls_ty.rs
index 9416427f05f..c9e3c8cc3e0 100644
--- a/src/librustc/ich/impls_ty.rs
+++ b/src/librustc/ich/impls_ty.rs
@@ -677,6 +677,10 @@ impl<'a, 'gcx, 'tcx> HashStable<StableHashingContext<'a, 'gcx, 'tcx>> for ty::In
                 def_id.hash_stable(hcx, hasher);
                 t.hash_stable(hcx, hasher);
             }
+            ty::InstanceDef::CloneShim(def_id, t) => {
+                def_id.hash_stable(hcx, hasher);
+                t.hash_stable(hcx, hasher);
+            }
         }
     }
 }