]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/ty/query/keys.rs
Revert previous attempt at detecting unsatisfiable predicates
[rust.git] / src / librustc / ty / query / keys.rs
index 3fb3720a5638a1dc7d253425b4f57b13e357dd85..cbf335ad607ef3e9f1ae84ed3825cde3a0f32df9 100644 (file)
@@ -125,15 +125,6 @@ fn default_span(&self, tcx: TyCtxt<'_>) -> Span {
     }
 }
 
-impl<'tcx> Key for (DefId, SubstsRef<'tcx>, traits::TraitQueryMode) {
-    fn query_crate(&self) -> CrateNum {
-        self.0.krate
-    }
-    fn default_span(&self, tcx: TyCtxt<'_>) -> Span {
-        self.0.default_span(tcx)
-    }
-}
-
 impl<'tcx> Key for (ty::ParamEnv<'tcx>, ty::PolyTraitRef<'tcx>) {
     fn query_crate(&self) -> CrateNum {
         self.1.def_id().krate