On Sun, Oct 27, 2013 at 9:41 AM, Patrick Walton <[email protected]> wrote:
> But
> by the time the closure is invoked, `f` won't exist, because the activation
> record for the `ntimes` function won't exist anymore.

I tried tying the lifetime of `f` to the lifetime of the returned
function by making them both &'a..., but that didn't help.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to