Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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
);
}