-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
also check let
arms and nested patterns for mutable borrows
#51274
also check let
arms and nested patterns for mutable borrows
#51274
Conversation
oh, let me bless the test. =) |
Should we backport this to beta since it does fix unsoundness? |
Fixed tests. |
4d932a9
to
a667049
Compare
@Mark-Simulacrum we could .. it's not a recent regression or anything though. |
OTOH it's a small patch and I believe the code is pretty old, would be a low-risk backport |
I hate the old borrowck, at this point it's an incoherent mess of recursive fine-prints. @bors r+ p=10 |
📌 Commit a667049 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
We could backport this, but there's no burning reason to do so. Clearing the backport flag. |
Fixes #46557
r? @eddyb