Link regions in `ref` bindings from fn arguments.
auto merge of #19456 : nikomatsakis/rust/reborrow-closure-arg, r=pnkfelix

Otherwise region inference can fail when closure arguments include `ref` bindings. Test case included in the PR.
Merge remote-tracking branch 'upstream/master'