rust-lang/rust — pull request #19456 by nikomatsakis (2014-12-02 07:44:46+00:00)
Title: Link regions in `ref` bindings from fn arguments.

Otherwise region inference can fail when closure arguments include `ref` bindings. Test case included in the PR.