message-format=short output is unnecessarily hard to read #63835
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The
--message-format=short
option is a very convenient way to get a condensed error output from cargo when the same/similar errors occur at many places in a code base. Unfortunately, the current output with this option uses bold/color to place the emphasis on the wrong parts of each output line, making it harder to read.For instance, consider the screenshot below. The same "trait objects without an explicit `dyn` are deprecated" is repeated constantly, yet is bold every single time. By contrast the unique parts of each line -- the filename and line/column numbers -- are the only things that aren't bold.
The text was updated successfully, but these errors were encountered: