Trait rustc_attr::HashStableContext[][src]

pub(crate) trait HashStableContext: HashStableContext {
    fn hash_attr(&mut self, &Attribute, 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

Implementors