Passing --error-format=json
does not impact panic message format
#107484
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-diagnostic-infra
Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
The panic message should be treated as a ICE message, and be its format should match whatever format was requested by the user. Users that request
json
format want to programmatically retrieve the compilation status, but they could be missing an important message such as the compiler crashing.Other cases
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: