Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 247 Bytes
// build-pass (FIXME(62277): could be check-pass?)
pub trait Hasher {
type State;
fn hash<T: Hash<
<Self as Hasher>::State
>>(&self, value: &T) -> u64;
}
pub trait Hash<S> {
fn hash(&self, state: &mut S);
}
fn main() {}
You can’t perform that action at this time.