]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_query_impl/src/keys.rs
Auto merge of #98866 - nagisa:nagisa/align-offset-wroom, r=Mark-Simulacrum
[rust.git] / compiler / rustc_query_impl / src / keys.rs
index c3fbba4456e1e4efe1cd1ac91f874b7fce597f49..6fbafeb1d32b3c40c51ce563d534e2a1488b29b9 100644 (file)
@@ -39,17 +39,6 @@ fn default_span(&self, _: TyCtxt<'_>) -> Span {
     }
 }
 
-impl Key for ty::RawLocalDefId {
-    #[inline(always)]
-    fn query_crate_is_local(&self) -> bool {
-        true
-    }
-
-    fn default_span(&self, _: TyCtxt<'_>) -> Span {
-        DUMMY_SP
-    }
-}
-
 impl<'tcx> Key for ty::InstanceDef<'tcx> {
     #[inline(always)]
     fn query_crate_is_local(&self) -> bool {