File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
compiler/rustc_middle/src/query Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -368,22 +368,6 @@ impl<'tcx> Key for (ty::Const<'tcx>, FieldIdx) {
368368 }
369369}
370370
371- impl < ' tcx > Key for ( mir:: ConstValue < ' tcx > , Ty < ' tcx > ) {
372- type CacheSelector = DefaultCacheSelector < Self > ;
373-
374- fn default_span ( & self , _: TyCtxt < ' _ > ) -> Span {
375- DUMMY_SP
376- }
377- }
378-
379- impl < ' tcx > Key for mir:: ConstAlloc < ' tcx > {
380- type CacheSelector = DefaultCacheSelector < Self > ;
381-
382- fn default_span ( & self , _: TyCtxt < ' _ > ) -> Span {
383- DUMMY_SP
384- }
385- }
386-
387371impl < ' tcx > Key for ty:: PolyTraitRef < ' tcx > {
388372 type CacheSelector = DefaultCacheSelector < Self > ;
389373
@@ -416,14 +400,6 @@ impl<'tcx> Key for GenericArg<'tcx> {
416400 }
417401}
418402
419- impl < ' tcx > Key for mir:: Const < ' tcx > {
420- type CacheSelector = DefaultCacheSelector < Self > ;
421-
422- fn default_span ( & self , _: TyCtxt < ' _ > ) -> Span {
423- DUMMY_SP
424- }
425- }
426-
427403impl < ' tcx > Key for ty:: Const < ' tcx > {
428404 type CacheSelector = DefaultCacheSelector < Self > ;
429405
You can’t perform that action at this time.
0 commit comments