Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
src
/
test
/
ui
/
capture1.rs
blob: 2938c084537d03d92c01fa9837290dec1d42e880 [
file
] [
log
] [
blame
]
// error-pattern: can't capture dynamic environment in a fn item
fn
main
()
{
let
bar
:
isize
=
5
;
fn
foo
()
->
isize
{
return
bar
;
}
}