Open
Description
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 implementing IntoDiagnostic
for newtypes. Another thing would be to investigate if the same can be done for MachineStopType
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.
Metadata
Metadata
Assignees
Labels
Area: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticCategory: PRs that clean code up or issues documenting cleanup.Call for participation: Medium difficulty. Experience needed to fix: Intermediate.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.