-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Do not ICE on multipart suggestions touching multiple files #68530
Conversation
When encountering a multipart suggestion with spans belonging to different contexts, skip that suggestion.
(rust_highfive has picked a reviewer for you, use r? to override) |
Depending on the beta cut-off, this might need backporting to beta. |
@bors r+ |
📌 Commit b626202 has been approved by |
Do not ICE on multipart suggestions touching multiple files When encountering a multipart suggestion with spans belonging to different contexts, skip that suggestion. Fix rust-lang#68449. Similar to rust-lang#68256.
☀️ Test successful - checks-azure |
Would be good to have had a test here =) Seems like a subtle bug we would want to be able to test for |
discussed at T-compiler triage meeting. approved for beta backport. |
This appears to already be in beta? At least cherry-picking the commit here gives me an empty commit. Denominating. |
When encountering a multipart suggestion with spans belonging to
different contexts, skip that suggestion.
Fix #68449. Similar to #68256.