Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
nll
/
issue-40510-3.rs
blob: 181263adcbfa8902f7c610634a7658215951a56a [
file
] [
log
] [
blame
] [
edit
]
#![
allow
(
unused
)]
fn
f
()
{
let
mut
x
:
Vec
<()>
=
Vec
::
new
();
||
{
||
{
x
.
push
(())
}
//~^^^ ERROR captured variable cannot escape `FnMut` closure body
};
}
fn
main
()
{}