File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
compiler/rustc_middle/src/query Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ use rustc_hir::hir_id::{HirId, OwnerId};
1212use rustc_query_system:: query:: { DefaultCacheSelector , SingleCacheSelector , VecCacheSelector } ;
1313use rustc_span:: symbol:: { Ident , Symbol } ;
1414use rustc_span:: { Span , DUMMY_SP } ;
15- use rustc_target:: abi:: FieldIdx ;
1615
1716/// Placeholder for `CrateNum`'s "local" counterpart
1817#[ derive( Copy , Clone , Debug ) ]
@@ -360,14 +359,6 @@ impl<'tcx> Key for (ty::ParamEnv<'tcx>, ty::TraitRef<'tcx>) {
360359 }
361360}
362361
363- impl < ' tcx > Key for ( ty:: Const < ' tcx > , FieldIdx ) {
364- type CacheSelector = DefaultCacheSelector < Self > ;
365-
366- fn default_span ( & self , _: TyCtxt < ' _ > ) -> Span {
367- DUMMY_SP
368- }
369- }
370-
371362impl < ' tcx > Key for ty:: PolyTraitRef < ' tcx > {
372363 type CacheSelector = DefaultCacheSelector < Self > ;
373364
You can’t perform that action at this time.
0 commit comments