Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
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
}