-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Implement diagnostic translation for rustc-errors #113281
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
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @b-naber (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
@rustbot label +A-translation |
r? rust-lang/diagnostics |
This comment has been minimized.
This comment has been minimized.
b8e808d
to
38e2794
Compare
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this!
This comment has been minimized.
This comment has been minimized.
6f6be6c
to
8c389b1
Compare
Please try applying what I suggested (specifically the @rustbot author |
@rustbot review |
@compiler-errors Any progress in here? |
r? @davidtwco |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (f239bb6): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 652.317s -> 655.772s (0.53%) |
The huge |
I have no idea about this performance issue, I thought that there are any logical reasons for the cause, because my PR is not related to unused check. I think its just blip. |
No need for further perf investigation here, in my opinion. @rustbot label: +perf-regression-triaged |
This is my first PR to rustc yeah~
I'm going to implement diagnostic translation on rustc-errors crate.
This PR is WIP, the reason of opening this as draft, I want to show my code to prevent the issue caused by misunderstanding and also I have few questions.
Some error messages are processed by
pluralize!
macro which determines to use plural word or not. From now, I make two kinds of keys and combine with enum but I'm not sure is this best method to do it.Is there any prefered method to do this? => This resolved on conversation on PR.
I'll remain to perform force-push until my first implementation looks good to me