We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Key
1 parent c1a9cf4 commit 611db1dCopy full SHA for 611db1d
compiler/rustc_query_impl/src/keys.rs
@@ -557,14 +557,3 @@ impl<'tcx> Key for (Ty<'tcx>, ty::ValTree<'tcx>) {
557
DUMMY_SP
558
}
559
560
-
561
-impl<'tcx> Key for (&'tcx ty::AssocItem, &'tcx ty::AssocItem, ty::TraitRef<'tcx>) {
562
- #[inline(always)]
563
- fn query_crate_is_local(&self) -> bool {
564
- self.0.def_id.krate == LOCAL_CRATE
565
- }
566
567
- fn default_span(&self, tcx: TyCtxt<'_>) -> Span {
568
- tcx.def_span(self.0.def_id)
569
570
-}
0 commit comments