Async/await and references in pattern match

This is an interesting intersection of async/await with NLL work. Certainly it isn’t necessary that f be borrowed across the yield point in that function. cc @nikomatsakis

3 Likes