[][src]Trait rustc_ast::HashStableContext

pub trait HashStableContext: HashStableContext {
    fn hash_attr(&mut self, _: &Attribute, hasher: &mut StableHasher);
}

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 librustc_middle.

Required methods

fn hash_attr(&mut self, _: &Attribute, hasher: &mut StableHasher)

Loading content...

Implementors

Loading content...