Stream: t-compiler

Topic: match_guard_mutable_borrow

oli (Apr 20 2019 at 14:33, on Zulip):

Could we offload all the checks that are done on match guards wrt them mutably borrowing their surroundings onto mir-borrowck? There's some weird interactions between the two ( and aren't match guards essentially Fn closures that are called immediately?

nikomatsakis (Apr 24 2019 at 19:38, on Zulip):

We can't do that -- at minimum -- until the NLL transition is complete, @oli, but I do believe we plan to do that

nikomatsakis (Apr 24 2019 at 19:39, on Zulip):

(cc @pnkfelix and @Matthew Jasper)

Last update: May 24 2020 at 23:45UTC