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