Trait rustc::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
impl DepGraphSafe for BodyId
impl DepGraphSafe for NodeId
impl DepGraphSafe for DefId
impl<'a, 'gcx, 'tcx> DepGraphSafe for TyCtxt<'a, 'gcx, 'tcx>
impl<A, B> DepGraphSafe for (A, B) where A: DepGraphSafe, B: DepGraphSafe
impl DepGraphSafe for ()
impl<T> DepGraphSafe for AssertDepGraphSafe<T>