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