Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-40510-3.rs
blob: 181263adcbfa8902f7c610634a7658215951a56a [
file
] [
log
] [
blame
]
#![
allow
(
unused
)]
fn
f
()
{
let
mut
x
:
Vec
<()>
=
Vec
::
new
();
||
{
||
{
x
.
push
(())
}
//~^^^ ERROR captured variable cannot escape `FnMut` closure body
};
}
fn
main
()
{}