add --message-format short option #42653
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
--message-format
currently has the following options:I would like an additional option to be added:
short
. Other possible names:brief
oneline
I've been programming in rust for the better part of a year now. The compiler has been my friend and mentor through this time, and a big part of that has been the fantastic human readable error messages. Thank you so much for them!
However, I have gotten much more familiar with the language and my common mistakes. Therefore I rarely need the error messages to be so long (sometimes they are longer than 10-15 lines!). Normally I just need the compiler to give the me the file, line/col number and name of the error and I can spot it myself very quickly.
For an experienced programmer, the option of a shorter format would make finding errors much more ergonomic.
The following pipe does roughly what I want, although it would be nice if it was all on one line and the
path:line:col
was at the beginningThanks!
The text was updated successfully, but these errors were encountered: