[−][src]Trait rustc_middle::dep_graph::dep_node::DepContext
Associated Types
type DepKind: DepKind[src]
type StableHashingContext[src]
Required methods
pub fn create_stable_hashing_context(&self) -> Self::StableHashingContext[src]
Create a hashing context for hashing new results.
pub fn debug_dep_tasks(&self) -> bool[src]
pub fn debug_dep_node(&self) -> bool[src]
pub fn try_force_from_dep_node(&self, dep_node: &DepNode<Self::DepKind>) -> bool[src]
Try to force a dep node to execute and see if it's green.
pub fn has_errors_or_delayed_span_bugs(&self) -> bool[src]
Return whether the current session is tainted by errors.
pub fn diagnostic(&self) -> &Handler[src]
Return the diagnostic handler.
pub fn try_load_from_on_disk_cache(&self, dep_node: &DepNode<Self::DepKind>)[src]
Load data from the on-disk cache.
pub fn load_diagnostics(
&self,
prev_dep_node_index: SerializedDepNodeIndex
) -> Vec<Diagnostic>[src]
&self,
prev_dep_node_index: SerializedDepNodeIndex
) -> Vec<Diagnostic>
Load diagnostics associated to the node in the previous session.
pub fn store_diagnostics(
&self,
dep_node_index: DepNodeIndex,
diagnostics: ThinVec<Diagnostic>
)[src]
&self,
dep_node_index: DepNodeIndex,
diagnostics: ThinVec<Diagnostic>
)
Register diagnostics for the given node, for use in next session.
pub fn store_diagnostics_for_anon_node(
&self,
dep_node_index: DepNodeIndex,
diagnostics: ThinVec<Diagnostic>
)[src]
&self,
dep_node_index: DepNodeIndex,
diagnostics: ThinVec<Diagnostic>
)
Register diagnostics for the given node, for use in next session.
pub fn profiler(&self) -> &SelfProfilerRef[src]
Access the profiler.
Implementors
impl<'tcx> DepContext for TyCtxt<'tcx>[src]
type DepKind = DepKind
type StableHashingContext = StableHashingContext<'tcx>
pub fn create_stable_hashing_context(&self) -> Self::StableHashingContext[src]
pub fn debug_dep_tasks(&self) -> bool[src]
pub fn debug_dep_node(&self) -> bool[src]
pub fn try_force_from_dep_node(&self, dep_node: &DepNode) -> bool[src]
pub fn has_errors_or_delayed_span_bugs(&self) -> bool[src]
pub fn diagnostic(&self) -> &Handler[src]
pub fn try_load_from_on_disk_cache(&self, dep_node: &DepNode)[src]
pub fn load_diagnostics(
&self,
prev_dep_node_index: SerializedDepNodeIndex
) -> Vec<Diagnostic>[src]
&self,
prev_dep_node_index: SerializedDepNodeIndex
) -> Vec<Diagnostic>
pub fn store_diagnostics(
&self,
dep_node_index: DepNodeIndex,
diagnostics: ThinVec<Diagnostic>
)[src]
&self,
dep_node_index: DepNodeIndex,
diagnostics: ThinVec<Diagnostic>
)
pub fn store_diagnostics_for_anon_node(
&self,
dep_node_index: DepNodeIndex,
diagnostics: ThinVec<Diagnostic>
)[src]
&self,
dep_node_index: DepNodeIndex,
diagnostics: ThinVec<Diagnostic>
)