Sign in
◑
Theme
rust
/
rust
/
8a7e1d75b2e2f4a2e89420130bca8d8d97f9074e
/
.
/
tests
/
ui
/
resolve
/
bad-env-capture3.rs
blob: 8f5440d33397485e3914b7114f812b2c1c4c96f8 [
file
]
fn
foo
(
x
:
isize
)
{
fn
mth
()
{
fn
bar
()
{
log
(
debug
,
x
);
}
//~^ ERROR can't capture dynamic environment in a fn item
//~| ERROR cannot find value `debug` in this scope
//~| ERROR cannot find function `log` in this scope
}
}
fn
main
()
{
foo
(
2
);
}