Why is it no possible to return a reference from a closure?

52 points taladarsa3itch

I tried to use a closure to trivially return a reference it received as an argument, but the compiler chokes. Using a function that does the same in place of the closure works as expected.

Here's a link to the playground

And a even smaller version

What the borrow checker rules say about this?