-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
[beta] backport fix for #40951 #41269
Conversation
In some cases, we give multiple primary spans, in which case we would report one `//~` annotation per primary span. That was very confusing because these things are reported to the user as a single error. UI tests would be better here.
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
r=me if the compiler team is good with this |
I also have mixed feelings. |
We discussed this in the @rust-lang/compiler meeting and decided not to backport. This change is a bit more complex than we are comfortable with, and the fallout seems quite minimal. The regression is fixed on nightly. |
cc @arielb1 -- this is a backport of just the fix needed for #40951. Thoughts?