Sign in
fuchsia
/
third_party
/
rust
/
1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5
/
.
/
tests
/
ui
/
associated-types
/
issue-19081.rs
blob: f502915eac3b1db21a55257501b10edf60a6706c [
file
] [
log
] [
blame
]
//@ 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
()
{}