Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
bad
/
bad-env-capture2.rs
blob: b04569c9d72287fb365465867127ec9697952dcb [
file
] [
log
] [
blame
]
// error-pattern: can't capture dynamic environment in a fn item
fn
foo
(
x
:
isize
)
{
fn
bar
()
{
log
(
debug
,
x
);
}
}
fn
main
()
{
foo
(
2
);
}