finish and clean up rustc_const_eval
's translatable diagnostics.
#113117
Labels
A-const-eval
Area: Constant evaluation (MIR interpretation)
A-translation
Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
For some context see this Zulip topic.
cc @RalfJung.
This issue has a few parts:
In #111677 I added a trait called
ReportErrorExt
which should be replaced by implementingIntoDiagnostic
for newtypes. Another thing would be to investigate if the same can be done forMachineStopType
which requires being made into a trait object.this is an example of using fluent's pattern matching for different error messages. These should be eventually replaced by individual messages with their own identifiers instead of pattern matching.
I'll assign this to myself when I get time. Feel free to claim if this is unassigned.
The text was updated successfully, but these errors were encountered: