[][src]Trait rustc_ap_rustc_data_structures::obligation_forest::ForestObligation

pub trait ForestObligation: Clone + Debug {
    type CacheKey: Clone + Hash + Eq + Debug;
    pub fn as_cache_key(&self) -> Self::CacheKey;
}

Associated Types

Loading content...

Required methods

pub fn as_cache_key(&self) -> Self::CacheKey[src]

Converts this ForestObligation suitable for use as a cache key. If two distinct ForestObligationss return the same cache key, then it must be sound to use the result of processing one obligation (e.g. success for error) for the other obligation

Loading content...

Implementors

Loading content...