-
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
Use free regions when determining self type in compare_impl_method
#48419
Use free regions when determining self type in compare_impl_method
#48419
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Thanks for the PR @bobtwinkles, the release team will periodically make sure this PR gets reviewed. @nikomatsakis, this PR needs your review! |
@bors r+ |
📌 Commit 9882050 has been approved by |
I get a failure on this in the rollup
|
That failure is caused by #48449, which replaces line numbers with LL. |
@bors r- re-r+ when this is fixed |
easiest way to fix is to rebase and re-run the UI tests locally |
Yep. I'll try and get to this tonight, and will certainly have it by later
tomorrow. I've gotten unexpectedly busy this week.
…On Thu, Mar 1, 2018, 13:28 Niko Matsakis ***@***.***> wrote:
easiest way to fix is to rebase and re-run the UI tests locally
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#48419 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABcc_EDw7wFqKFFaNpf8Y5ys7qog7IZdks5taD3TgaJpZM4SOsQM>
.
|
The ExplicitSelf::determine function expects to be able to compare regions. However, when the compare_self_type error reporting code runs we haven't resolved bound regions yet. Thus we replace them with free regions first.
9882050
to
c0d41fb
Compare
Rebased and updated to new |
@bors r+ |
📌 Commit c0d41fb has been approved by |
⌛ Testing commit c0d41fb with merge 9a46d8adb83f73c72a2e876764993c4746957199... |
💔 Test failed - status-appveyor |
Appveyor timeout on dist x86_64. @bors retry |
Note: Timeout is due to being stuck when cloning rust-by-examples. This happened 1 month before in #47761 (comment). |
…sakis Use free regions when determining self type in `compare_impl_method` The ExplicitSelf::determine function expects to be able to compare regions. However, when the compare_self_type error reporting code runs we haven't resolved bound regions yet. Thus we replace them with free regions first. Fixes #48276
☀️ Test successful - status-appveyor, status-travis |
The ExplicitSelf::determine function expects to be able to compare regions. However, when the compare_self_type error reporting code runs we haven't resolved bound regions yet. Thus we replace them with free regions first. Fixes #48276