-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Cleanup borrowck errors #62629
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cleanup borrowck errors #62629
Conversation
Some changes occurred in diagnostic error codes |
(rust_highfive has picked a reviewer for you, use r? to override) |
5afe132
to
18e45eb
Compare
☔ The latest upstream changes (presumably #62468) made this pull request unmergeable. Please resolve the merge conflicts. |
r=me after rebase |
Its methods are now inherent methods of `MirBorrowckCtxt`
The borrow checker code is already using `crate` extensively, so prefer being consistent with it.
03f1df7
to
9709b73
Compare
@bors r=petrochenkov |
📌 Commit 9709b73 has been approved by |
…chenkov Cleanup borrowck errors This removes some of the unnecessary code that allowed sharing error reporting between two borrow checkers. closes #59193
☀️ Test successful - checks-azure, checks-travis, status-appveyor |
☔ The latest upstream changes made this pull request unmergeable. Please resolve the merge conflicts. |
This removes some of the unnecessary code that allowed sharing error reporting between two borrow checkers.
closes #59193