Trait rustc_middle::dep_graph::DepContext[][src]

pub trait DepContext: Copy {
    type DepKind: DepKind;
    type StableHashingContext;
    fn create_stable_hashing_context(&self) -> Self::StableHashingContext;
fn dep_graph(&self) -> &DepGraph<Self::DepKind>;
fn profiler(&self) -> &SelfProfilerRef;
fn sess(&self) -> &Session; }

Associated Types

Required methods

Create a hashing context for hashing new results.

Access the DepGraph.

Access the profiler.

Access the compiler session.

Implementors