File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,9 @@ use hir::def_id::{CrateNum, DefId};
64
64
use hir:: map:: DefPathHash ;
65
65
66
66
use ich:: Fingerprint ;
67
- use ty:: fast_reject:: SimplifiedType ;
68
67
use ty:: { TyCtxt , Instance , InstanceDef } ;
68
+ use ty:: fast_reject:: SimplifiedType ;
69
+ use ty:: subst:: Substs ;
69
70
use rustc_data_structures:: stable_hasher:: { StableHasher , HashStable } ;
70
71
use ich:: StableHashingContext ;
71
72
use std:: fmt;
@@ -420,7 +421,7 @@ define_dep_nodes!( <'tcx>
420
421
TypeckBodiesKrate ,
421
422
TypeckTables ( DefId ) ,
422
423
HasTypeckTables ( DefId ) ,
423
- ConstEval ( DefId ) ,
424
+ ConstEval { def_id : DefId , substs : & ' tcx Substs < ' tcx> } ,
424
425
SymbolName ( DefId ) ,
425
426
InstanceSymbolName { instance: Instance <' tcx> } ,
426
427
SpecializationGraph ( DefId ) ,
Original file line number Diff line number Diff line change @@ -1011,8 +1011,8 @@ fn typeck_item_bodies_dep_node<'tcx>(_: CrateNum) -> DepConstructor<'tcx> {
1011
1011
DepConstructor :: TypeckBodiesKrate
1012
1012
}
1013
1013
1014
- fn const_eval_dep_node < ' tcx > ( ( def_id, _ ) : ( DefId , & Substs ) ) -> DepConstructor < ' tcx > {
1015
- DepConstructor :: ConstEval ( def_id)
1014
+ fn const_eval_dep_node < ' tcx > ( ( def_id, substs ) : ( DefId , & ' tcx Substs < ' tcx > ) ) -> DepConstructor < ' tcx > {
1015
+ DepConstructor :: ConstEval { def_id, substs }
1016
1016
}
1017
1017
1018
1018
fn mir_keys < ' tcx > ( _: CrateNum ) -> DepConstructor < ' tcx > {
You can’t perform that action at this time.
0 commit comments