Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-3021-b.rs
blob: f1630afe1730e1f03f720d2b788912bc076df57a [
file
] [
log
] [
blame
] [
edit
]
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
()
{}