// build-pass (FIXME(62277): could be check-pass?) pub trait Hasher { type State; fn hash::State >>(&self, value: &T) -> u64; } pub trait Hash { fn hash(&self, state: &mut S); } fn main() {}