pub trait InternedHashingContext {
fn with_def_path_and_no_spans(&mut self, f: impl FnOnce(&mut Self));
}
Expand description
A helper trait so that Interned
things can cache stable hashes reproducibly.
Required Methods
source
pub trait InternedHashingContext {
fn with_def_path_and_no_spans(&mut self, f: impl FnOnce(&mut Self));
}
A helper trait so that Interned
things can cache stable hashes reproducibly.