-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Fix invalid suggestion of changing impl trait signature #85100
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @matthewjasper (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. |
Seems @matthewjasper is busy (from github contributions). May I request another reviewer? |
compiler/rustc_mir/src/borrow_check/diagnostics/mutability_errors.rs
Outdated
Show resolved
Hide resolved
Thank you for your contribution! There's a large amount of rightward drift in the diff. If it's still there after you switch to |
I moved the logic to a function so right drift is almost solved. I don't think it helps to use @rustbot label -S-waiting-on-author +S-waiting-on-review |
compiler/rustc_mir/src/borrow_check/diagnostics/mutability_errors.rs
Outdated
Show resolved
Hide resolved
I see what you mean about still needing to use the HIR to get the trait method argument span. However, using |
@Aaron1011 Is it now ok? |
📌 Commit 8f5585a has been approved by |
Fix invalid suggestion of changing impl trait signature Fix rust-lang#68049
Failed in rollup: #85163 (comment) |
This comment has been minimized.
This comment has been minimized.
I thought |
This comment has been minimized.
This comment has been minimized.
What is happening here? |
IIRC |
This comment has been minimized.
This comment has been minimized.
But trailing space is the easiest one I think. Maybe it is a bug? |
Nah, it isn't a bug, |
@rustbot label -S-waiting-on-author +S-waiting-on-review |
Could you squash extra formatting commits into the existing one to clean up the commit log? Once it's done, I'll back this into the queue. |
Done |
Thanks! @bors r=Aaron1011 |
📌 Commit 1f20966 has been approved by |
☀️ Test successful - checks-actions |
Fix #68049