@@ -23,7 +23,7 @@ use {super::debug::EdgeFilter, std::env};
2323
2424use super :: query:: DepGraphQuery ;
2525use super :: serialized:: { GraphEncoder , SerializedDepGraph , SerializedDepNodeIndex } ;
26- use super :: { DepKind , DepNode , HasDepContext , WorkProductId , read_deps, with_deps} ;
26+ use super :: { DepKind , DepNode , WorkProductId , read_deps, with_deps} ;
2727use crate :: dep_graph:: edges:: EdgesVec ;
2828use crate :: ich:: StableHashingContext ;
2929use crate :: ty:: TyCtxt ;
@@ -938,7 +938,7 @@ impl DepGraphData {
938938
939939 // We failed to mark it green, so we try to force the query.
940940 debug ! ( "trying to force dependency {dep_dep_node:?}" ) ;
941- if !tcx. dep_context ( ) . try_force_from_dep_node ( * dep_dep_node, parent_dep_node_index, frame) {
941+ if !tcx. try_force_from_dep_node ( * dep_dep_node, parent_dep_node_index, frame) {
942942 // The DepNode could not be forced.
943943 debug ! ( "dependency {dep_dep_node:?} could not be forced" ) ;
944944 return None ;
@@ -985,10 +985,7 @@ impl DepGraphData {
985985 let frame = MarkFrame { index : prev_dep_node_index, parent : frame } ;
986986
987987 // We never try to mark eval_always nodes as green
988- debug_assert ! (
989- !tcx. dep_context( )
990- . is_eval_always( self . previous. index_to_node( prev_dep_node_index) . kind)
991- ) ;
988+ debug_assert ! ( !tcx. is_eval_always( self . previous. index_to_node( prev_dep_node_index) . kind) ) ;
992989
993990 let prev_deps = self . previous . edge_targets_from ( prev_dep_node_index) ;
994991
0 commit comments