Make panic! error output compatible with GCC error message #25151
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
This is what I see right now when a test fails running
cargo test
:When running this for example via the emacs
compile
feature, if the location was printed at the start of the line instead of the end, the key bindings for jumping to the error location would work. There are numerous other tools that also understand the GCC error format.It'd be a nice feature to reorder the output so that
src/main.rs:34
appeared at the beginning of the line instead of the end.The text was updated successfully, but these errors were encountered: