blob: bc1cd6856bc92b576218bc7f5f21e1cfe709499b [file] [log] [blame]
fn main() {
let mut x = 0;
|| {
|| {
//~^ ERROR captured variable cannot escape `FnMut` closure body
let _y = &mut x;
}
};
}