Sign in
fuchsia
/
third_party
/
rust
/
d440e136e753210882d930c6f4884a43984f6ba0
/
.
/
src
/
test
/
ui
/
issues
/
issue-19081.rs
blob: 0948cd3271b1c04ef834b6652d4c232949166b1b [
file
] [
log
] [
blame
]
// 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
()
{}