Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add test for NLL: unexpected "free region `` does not outlive" error #52793
referenced this pull request
Jul 27, 2018
@davidtwco Since the test uses
(that is, I don't want someone who's idly skimming
@davidtwco so you can tell that I changed my mind about something here.
This test represents a case where NLL could break old code that was accepted by the AST-borrowck.
Its exactly the kind of case where I think the right approach is not to use
At the very least, I would remove the