-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Point at var in short lived borrows instead of drop location #46719
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
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
48dcdef
to
9aae600
Compare
9283c08
to
68ac119
Compare
r? @pnkfelix, who knows a lot more about borrow checking than me. |
This looks like a nice unification. I basically just cargo-culted the AST borrowck scheme when moving to MIR borrowck. |
r=me once @estebank has addressed the travis failure |
☔ The latest upstream changes (presumably #46641) made this pull request unmergeable. Please resolve the merge conflicts. |
9a5a6e7
to
22a8b3c
Compare
3b6d97d
to
2bdaf0c
Compare
2bdaf0c
to
b562565
Compare
@bors r=pnkfelix |
📌 Commit b562565 has been approved by |
Point at var in short lived borrows instead of drop location For RLS' sake, point at the borrow location as primary span for short lived borrows, instead of the borrow drop location. Fix #39268.
☀️ Test successful - status-appveyor, status-travis |
For RLS' sake, point at the borrow location as primary span for short lived borrows, instead of the borrow drop location.
Fix #39268.