Trait HashStableContext

Source
pub trait HashStableContext:
    HashStableContext
    + HashStableContext
    + HashStableContext {
    // Required method
    fn hash_attr_id(
        &mut self,
        id: &HashIgnoredAttrId,
        hasher: &mut StableHasher,
    );
}
Expand description

Requirements for a StableHashingContext to be used in this crate. This is a hack to allow using the HashStable_Generic derive macro instead of implementing everything in rustc_middle.

Required Methods§

Source

fn hash_attr_id(&mut self, id: &HashIgnoredAttrId, hasher: &mut StableHasher)

Implementors§