File tree 1 file changed +0
-24
lines changed
compiler/rustc_middle/src/query
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) {
368
368
}
369
369
}
370
370
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
-
387
371
impl < ' tcx > Key for ty:: PolyTraitRef < ' tcx > {
388
372
type CacheSelector = DefaultCacheSelector < Self > ;
389
373
@@ -416,14 +400,6 @@ impl<'tcx> Key for GenericArg<'tcx> {
416
400
}
417
401
}
418
402
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
-
427
403
impl < ' tcx > Key for ty:: Const < ' tcx > {
428
404
type CacheSelector = DefaultCacheSelector < Self > ;
429
405
You can’t perform that action at this time.
0 commit comments