Trait rustc_typeck::dep_graph::DepGraphSafe [] [src]

pub trait DepGraphSafe { }
🔬 This is a nightly-only experimental API. (rustc_private)

The DepGraphSafe trait is used to specify what kinds of values are safe to "leak" into a task. The idea is that this should be only be implemented for things like the tcx as well as various id types, which will create reads in the dep-graph whenever the trait loads anything that might depend on the input program.

Implementors