Sign in
fuchsia
/
third_party
/
rust
/
5670d048c0f88af9976b5505c7853b23dd06770d
/
.
/
src
/
test
/
ui
/
nll
/
issue-53040.rs
blob: 8ce24c8ede9acbd54471175d13417c24541d2dd5 [
file
] [
log
] [
blame
]
#![
feature
(
nll
)]
fn
main
()
{
let
mut
v
:
Vec
<()>
=
Vec
::
new
();
||
&
mut
v
;
//~^ ERROR captured variable cannot escape `FnMut` closure body
}