]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/ich/impls_hir.rs
Move librustc_hir/def_id.rs to librustc_span/def_id.rs
[rust.git] / src / librustc / ich / impls_hir.rs
index 01558615497731073ab20985800fc9bdae7ad986..625d8a4670f22fce83f194d156f3913288fa5b62 100644 (file)
 use std::mem;
 
 impl<'ctx> rustc_hir::HashStableContext for StableHashingContext<'ctx> {
-    #[inline]
-    fn hash_def_id(&mut self, def_id: DefId, hasher: &mut StableHasher) {
-        let hcx = self;
-        hcx.def_path_hash(def_id).hash_stable(hcx, hasher);
-    }
-
     #[inline]
     fn hash_hir_id(&mut self, hir_id: hir::HirId, hasher: &mut StableHasher) {
         let hcx = self;