-
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
E0631 has duplicated diagnostics #64165
Comments
^ This. It really looks unprofessional when the errors are doubled up. And it's pretty unhelpful when your going through errors in the IDE and realise the error is pointing at a location you've already fixed. Would rustc devs want a switch to see all the errors so they could check if some error was being raised far too many times? Or can we just keep things simple for now? - I see there is a |
I see all the code is in librustc_errors. struct Diagnostic supports Hash, PartialEq... |
Hang on, those diagnostics aren't pure duplicates. One is fn, the other is for. |
They are caused by different |
Hello, I would like to work on this, but I am not entirely sure what to do here? Should I manually remove the duplicate tests from this "text" file? |
https://github.com/rust-lang/rust/blob/master/src/test/ui/anonymous-higher-ranked-lifetime.stderr has duplicated redundant diagnostics. We should come up with a deduplicating strategy to avoid them.
The text was updated successfully, but these errors were encountered: