Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
tests
/
ui
/
issues
/
issue-3021-b.rs
blob: f1630afe1730e1f03f720d2b788912bc076df57a [
file
]
fn
siphash
(
k0
:
u64
)
{
struct
SipHash
{
v0
:
u64
,
}
impl
SipHash
{
pub
fn
reset
(&
mut
self
)
{
self
.
v0
=
k0
^
0x736f6d6570736575
;
//~ ERROR can't capture dynamic environment
}
}
}
fn
main
()
{}